Home | History | Annotate | Download | only in sys
      1 #ifndef SYS_POLL_H
      2 #define SYS_POLL_H
      3 
      4 typedef int nfds_t;
      5 
      6 struct pollfd
      7 {
      8 	int fd;
      9 	short events;
     10 	short revents;
     11 };
     12 
     13 int poll(struct pollfd fds[], nfds_t nfds, int timeout);
     14 
     15 #endif /* SYS_POLL_H */
     16