Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

ndelay_on - put file descriptor in non-blocking mode

Description

       ndelay_on  puts a file descriptor in non-blocking mode.  Reading from and writing to non-blocking network
       sockets, FIFOs or device files will return immediately, even if not as many bytes have been processed  as
       were specified.

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

Name

       ndelay_on - put file descriptor in non-blocking mode

See Also

fcntl(2), ndelay_off(3)

                                                                                                    ndelay_on(3)

Syntax

#include<libowfat/ndelay.h>

       extern int ndelay_on(int fd);

See Also