Usermode - Renamed VFS syscalls to _Sys* to remove POSIX collisions
[tpg/acess2.git] / Usermode / Libraries / ld-acess.so_src / include_exp / acess / fd_set.h
1 /*
2  * Acess2 Dynamic Linker
3  * - By John Hodge (thePowersGang)
4  *
5  * acess/fd_set.h
6  * - fd_set structure used by select()
7  */
8 #ifndef _ACESS__FD_SET_H_
9 #define _ACESS__FD_SET_H_
10
11 #define FD_SETSIZE      128
12
13 typedef unsigned short  fd_set_ent_t;
14
15 /**
16  * \brief fd_set for select()
17  */
18 typedef struct
19 {
20         fd_set_ent_t    flags[FD_SETSIZE/16];
21 }       fd_set;
22
23
24 extern void     FD_ZERO(fd_set *fdsetp);
25 extern void     FD_CLR(int fd, fd_set *fdsetp);
26 extern void     FD_SET(int fd, fd_set *fdsetp);
27 extern int      FD_ISSET(int fd, fd_set *fdsetp);
28
29 #endif

UCC git Repository :: git.ucc.asn.au