1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/* * poll.h */ #ifndef _POLL_H #define _POLL_H #include <klibc/extern.h> #include <linux/poll.h> /* POSIX specifies "int" for the timeout, Linux seems to use long... */ typedef unsigned int nfds_t; __extern int poll(struct pollfd *, nfds_t, long); #endif /* _POLL_H */