ia64/xen-unstable

view tools/xfrd/select.h @ 1921:24ecc060e9d7

bitkeeper revision 1.1108.21.1 (41062740xHG36OEbpVAmVX5N9WCaNw)

make vmlinuz really stripped
author cl349@freefall.cl.cam.ac.uk
date Tue Jul 27 09:58:24 2004 +0000 (2004-07-27)
parents 0e23f01219c6
children
line source
1 #ifndef _XFRD_SELECT_H_
2 #define _XFRD_SELECT_H_
4 /** Set of file descriptors for select.
5 */
6 typedef struct SelectSet {
7 int n;
8 fd_set rd, wr, er;
9 } SelectSet;
11 extern void SelectSet_zero(SelectSet *set);
12 extern void SelectSet_add_read(SelectSet *set, int fd);
13 extern void SelectSet_add_write(SelectSet *set, int fd);
14 extern int SelectSet_select(SelectSet *set, struct timeval *timeout);
16 #endif /* ! _XFRD_SELECT_H_ */