libowfat/io/io_block.3

16 lines
382 B
Groff
Raw Normal View History

2006-04-17 05:07:43 +00:00
.TH io_block 3
.SH NAME
io_block \- switch to blocking I/O
.SH SYNTAX
.B #include <libowfat/io.h>
2006-04-17 05:07:43 +00:00
void \fBio_block\fP(int64 fd);
.SH 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.
.SH "SEE ALSO"
io_nonblock(3)