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

ndelay_off - put file descriptor in non-blocking mode

Description

       ndelay_off  puts  a  file  descriptor  in  blocking  mode.   Reading from and writing to blocking network
       sockets, FIFOs or device files will possibly not return immediately but wait  on  more  input  or  buffer
       space for output.

       If an error occurred, ndelay_off will return nonzero and set errno accordingly.

Name

       ndelay_off - put file descriptor in non-blocking mode

See Also

fcntl(2), ndelay_on(3)

                                                                                                   ndelay_off(3)

Syntax

#include<libowfat/ndelay.h>

       extern int ndelay_off(int fd);

See Also