6 #include <sys/select.h>
8 PUBLIC
int select(int nfds
,
9 fd_set
*readfds
, fd_set
*writefds
, fd_set
*errorfds
,
10 struct timeval
*timeout
)
15 m
.SEL_READFDS
= (char *) readfds
;
16 m
.SEL_WRITEFDS
= (char *) writefds
;
17 m
.SEL_ERRORFDS
= (char *) errorfds
;
18 m
.SEL_TIMEOUT
= (char *) timeout
;
20 return (_syscall(FS
, SELECT
, &m
));