select ( nfds readfds writefds exceptfds timeout -- int ) (original) (raw)

select ( nfds readfds writefds exceptfds timeout -- int )

Vocabulary
unix.ffi

Inputs

nfds an object
readfds an object
writefds an object
exceptfds an object
timeout an object

Outputs

int an object

Definition

USING: alien.c-types alien.syntax unix.time ;

IN: unix.ffi

LIBRARY: libc FUNCTION: int select
( int nfds, void* readfds, void* writefds, void* exceptfds,
timeval* timeout )