dnonblock.h(3)

dnonblock.h3

Contains a single function used to change a file descriptor to non-blocking mode using fcntl().

Usage

Functions

int daemon_nonblock (int fd, int b)
Change the passed file descriptor to non-blocking or blocking mode, depending on b.

Detailed Description

Contains a single function used to change a file descriptor to non-blocking mode using fcntl().

Definition in file dnonblock.h.

Function Documentation

int daemon_nonblock (int fd, int b)

Change the passed file descriptor to non-blocking or blocking mode, depending on b.

Parameters

fd The file descriptor to manipulation
b TRUE if non-blocking mode should be enabled, FALSE if it should be disabled

Returns

Zero on success, nonzero on failure.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 6 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0–7
  5. 8–9
  6. 10
  7. 11–13

Author

Generated automatically by Doxygen for libdaemon from the source code.

From libdaemon-doc 0.14-7.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.