1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 18:15:07 +00:00

Stub out poll() syscall and LibC wrapper.

This commit is contained in:
Andreas Kling 2019-01-23 07:27:41 +01:00
parent 8bb18fdc56
commit 2bedabbd6c
10 changed files with 63 additions and 10 deletions

View file

@ -2002,6 +2002,13 @@ int Process::sys$select(const Syscall::SC_select_params* params)
return markedfds;
}
int Process::sys$poll(pollfd* fds, int nfds, int timeout)
{
if (!validate_read_typed(fds))
return -EFAULT;
return 0;
}
Inode* Process::cwd_inode()
{
// FIXME: This is retarded factoring.