io_block man page

io_block — switch to blocking I/O

Syntax

#include <io.h>

void io_block(int64 fd);

Description

io_block puts UNIX descriptor fd into “blocking mode.”

File descriptors are normally in blocking mode, except if they come from accept() or io_accept() and the listening socket was in non-blocking mode.

See Also

io_nonblock(3)

Info