Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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