NAME
	set_nonblocking - set a filedescriptor nonblocking

SYNTAX
	#include "fd_control.h"

	void set_nonblocking(int fd, int onoff)

DESCRIPTION
	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.

KEYWORDS
	low_level

SEE ALSO
	set_close_on_exec
