/[cvs]/eggdrop1.9/testcode/my_poll.h
ViewVC logotype

Annotation of /eggdrop1.9/testcode/my_poll.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download) (as text)
Fri Aug 9 23:42:04 2002 UTC (17 years, 8 months ago) by stdarg
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-csrc
* Some updates to network code

1 stdarg 1.1 #ifndef _MY_POLL_H_
2     #define _MY_POLL_H_
3    
4     #define POLLIN 1
5     #define POLLOUT 2
6     #define POLLERR 4
7     #define POLLNVAL 8
8     #define POLLHUP 16
9    
10     struct pollfd {
11     int fd;
12     short events;
13     short revents;
14     };
15    
16     int poll(struct pollfd *pollfds, int npollfds, int timeout);
17    
18     #endif

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23