Next: posix fd dup, Previous: posix fd poll, Up: posix fd [Index]
Interface to the C function fcntl()
, (libc)fcntl. Perform the operation specified by command on the file
descriptor fd using arg; fd and command must be
fixnums; arg must be #f
, a fixnum, a bytevector or a
pointer, if it is #f
or not given no argument is handed to
fcntl()
. If successful return a fixnum representing the return
value of fcntl()
, else raise an exception.
Interface to the C function ioctl()
, (libc)ioctl.
Perform the operation specified by command on the file descriptor
fd using arg; fd and command must be fixnums;
arg must be #f
, a fixnum, a bytevector or a pointer, if it
is #f
or not given no argument is handed to ioctl()
. If
successful return a fixnum representing the return value of
ioctl()
, else raise an exception.
• posix fd device blocking: | Non-blocking mode. | |
• posix fd device cloexec: | Close-on-exec mode. |