Previous: posix fd select select, Up: posix fd select [Index]
Interface to the C function select()
, (libc)select. Wait for a readable event on the single file descriptor
fd or port having a file descriptor as device. sec
and usec must be fixnums representing timeout seconds and
microseconds.
If the timeout expires before any event arrives: return #f
. If an
error occurs: raise an exception. Else return #t
if the file
descriptor becomes readable.
Interface to the C function select()
, (libc)select. Wait for a writable event on the single file descriptor
fd or port having a file descriptor as device. sec
and usec must be fixnums representing timeout seconds and
microseconds.
If the timeout expires before any event arrives: return #f
. If an
error occurs: raise an exception. Else return #t
if the file
descriptor becomes writable.
Interface to the C function select()
, (libc)select. Wait for an exceptional event on the single file descriptor
fd or port having a file descriptor as device. sec
and usec must be fixnums representing timeout seconds and
microseconds.
If the timeout expires before any event arrives: return #f
. If an
error occurs: raise an exception. Else return #t
if the file
descriptor receives an exceptional notification.