Contains a single function used to change a file descriptor to non-blocking mode using fcntl(). More...
Go to the source code of this file.
Functions | |
| int | daemon_nonblock (int fd, int b) |
| Change the passed file descriptor to non-blocking or blocking mode, depending on b. | |
Contains a single function used to change a file descriptor to non-blocking mode using fcntl().
Definition in file dnonblock.h.
| int daemon_nonblock | ( | int | fd, | |
| int | b | |||
| ) |
Change the passed file descriptor to non-blocking or blocking mode, depending on b.
| fd | The file descriptor to manipulation | |
| b | TRUE if non-blocking mode should be enabled, FALSE if it should be disabled |
1.6.1