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:
parent
8bb18fdc56
commit
2bedabbd6c
10 changed files with 63 additions and 10 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue