poll.h 592 B

12345678910111213141516171819202122232425
  1. #ifndef _SYS_POLL_H
  2. # include <io/sys/poll.h>
  3. #ifndef _ISOMAC
  4. #include <include/struct___timespec64.h>
  5. extern int __poll (struct pollfd *__fds, unsigned long int __nfds,
  6. int __timeout);
  7. libc_hidden_proto (__poll)
  8. libc_hidden_proto (ppoll)
  9. # if __TIMESIZE == 64
  10. # define __ppoll64 ppoll
  11. # define __ppoll64_chk __ppoll_chk
  12. # else
  13. # include <time.h>
  14. # include <signal.h>
  15. extern int __ppoll64 (struct pollfd *fds, nfds_t nfds,
  16. const struct __timespec64 *timeout,
  17. const sigset_t *sigmask);
  18. libc_hidden_proto (__ppoll64)
  19. # endif
  20. #endif
  21. #endif