N
AME
set_nonblocking
- set a filedescriptor nonblocking
S
YNTAX
#include "fd_control.h"
void set_nonblocking(int fd, int onoff)
D
ESCRIPTION
This function sets a filedescriptor in nonblocking mode. Nonblocking mode means that any read() or write() exits insteads of waits when no more data can be read/written immediately. If 'onoff' is true, the fd will be set to nonblocking, otherwise it will be set to blocking mode.
K
EYWORDS
low_level
S
EE
A
LSO
set_close_on_exec