chickadee » chicken » file » posix » file-control

file-control FILENO COMMAND #!optional ARGUMENTprocedure

Performs the fcntl operation COMMAND with the given FILENO and optional ARGUMENT. The return value is meaningful depending on the COMMAND.

NOTE: On native Windows builds (all except cygwin), this procedure is unimplemented and will raise an error.