logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

io_block - switch to blocking I/O

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.

Name

       io_block - switch to blocking I/O

See Also

io_nonblock(3)

                                                                                                     io_block(3)

Syntax

#include<libowfat/io.h>

       void io_block(int64 fd);

See Also