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

Contents of /eggdrop1.9/testcode/mypoll.h

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


Revision 1.2 - (show annotations) (download) (as text)
Fri Aug 9 23:42:04 2002 UTC (17 years, 7 months ago) by stdarg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/x-csrc
FILE REMOVED
* Some updates to network code

1 #ifndef _MYPOLL_H_
2 #define _MYPOLL_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