2006-04-17 05:07:43 +00:00
|
|
|
.TH io_block 3
|
|
|
|
.SH NAME
|
|
|
|
io_block \- switch to blocking I/O
|
|
|
|
.SH SYNTAX
|
2017-05-13 22:51:26 +00:00
|
|
|
.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)
|