Utilities


 #include <cio/util.h> 

Functions

int cio_nonblock (int fd)

Function Documentation

int cio_nonblock ( int  fd  ) 

Set a file descriptor to non-blocking mode.

Parameters:
fd a file descriptor
Return values:
fd on success
-1 on error with errno set