Source

linux-scalability-benchmarks / libowfat / unix / ndelay_off.3

The default branch has multiple heads

Full commit
.TH ndelay_off 3
.SH NAME
ndelay_off \- put file descriptor in non-blocking mode
.SH SYNTAX
.B #include <ndelay.h>

extern int \fBndelay_off\fP(int \fIfd\fR);
.SH 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 \fIerrno\fR
accordingly.

.SH "SEE ALSO"
fcntl(2), ndelay_on(3)