logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dnonblock.h - Contains a single function used to change a file descriptor to non-blocking mode using

Author

Generated automatically by Doxygen for libdaemon from the source code. libdaemon Version 0.14 dnonblock.h(3)

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

intdaemon_nonblock(intfd,intb) Change the passed file descriptor to non-blocking or blocking mode, depending on b. Parametersfd 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.

Name

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

Synopsis

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

See Also