stdio: puts() and vprintf()
[neatlibc.git] / poll.h
blobe7cdd228b08cf404eebc4f18abba63ca035055c4
1 #define POLLIN 0x0001
2 #define POLLPRI 0x0002
3 #define POLLOUT 0x0004
4 #define POLLERR 0x0008
5 #define POLLHUP 0x0010
6 #define POLLNVAL 0x0020
7 #define POLLRDNORM 0x0040
8 #define POLLRDBAND 0x0080
9 #define POLLWRBAND 0x0200
10 #define POLLMSG 0x0400
11 #define POLLREMOVE 0x1000
13 struct pollfd {
14 int fd;
15 short events;
16 short revents;
19 typedef unsigned int nfds_t;
21 extern int poll(struct pollfd *ufds, nfds_t nfds, int timeout);