io_block(3diet)

io_block3diet

Switch to blocking i/o

Usage

#include <io.h>

void io_block(int64 fd);

Overview

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.

Releases

Unchanged in 2 releases since Debian 5.0 (Lenny).

  1. 5.0–6.0

From libowfat-dev 0.28-2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.