1ndelay_on(3) Library Functions Manual ndelay_on(3)
2
3
4
6 ndelay_on - put file descriptor in non-blocking mode
7
9 #include <ndelay.h>
10
11 extern int ndelay_on(int fd);
12
14 ndelay_on puts a file descriptor in non-blocking mode. Reading from
15 and writing to non-blocking network sockets, FIFOs or device files will
16 return immediately, even if not as many bytes have been processed as
17 were specified.
18
19 If an error occurred, ndelay_on will return nonzero and set errno
20 accordingly.
21
22
24 fcntl(2), ndelay_off(3)
25
26
27
28 ndelay_on(3)