It is accomplished ...

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
ejakowatz
2002-07-09 12:24:59 +00:00
commit 52a3801208
2025 changed files with 472889 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
/* poll.h
*
* poll is an alternative way to deal with system notification
* of events on sockets
*/
#ifndef __POLL_H
#define __POLL_H
#define POLLIN 0x0001
#define POLLPRI 0x0002 /* not used */
#define POLLOUT 0x0004
#define POLLERR 0x0008
struct pollfd {
int fd;
int events; /* events to look for */
int revents; /* events that occured */
};
extern int poll(struct pollfd * p, int nb, int timeout);
#endif /* __POLL_H */