mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:07:35 +00:00
LibC+Kernel: Implement ppoll
ppoll() is similar() to poll(), but it takes its timeout as timespec instead of as int, and it takes an additional sigmask parameter. Change the sys$poll parameters to match ppoll() and implement poll() in terms of ppoll().
This commit is contained in:
parent
4b19b99b36
commit
d2684a8645
5 changed files with 55 additions and 19 deletions
|
@ -217,7 +217,7 @@ public:
|
|||
int sys$minherit(void*, size_t, int inherit);
|
||||
int sys$purge(int mode);
|
||||
int sys$select(const Syscall::SC_select_params*);
|
||||
int sys$poll(pollfd*, int nfds, int timeout);
|
||||
int sys$poll(const Syscall::SC_poll_params*);
|
||||
ssize_t sys$get_dir_entries(int fd, void*, ssize_t);
|
||||
int sys$getcwd(char*, ssize_t);
|
||||
int sys$chdir(const char*, size_t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue