dnonblock.h(3)
β¨ dnonblock.h β¨
okay so bestie, welcome to dnonblock.h from the libdaemon manual, section 3 (that's the library-functions girly π
). this whole header file is literally just one function whose entire job is flipping a file descriptor between non-blocking and blocking mode using fcntl(). that's it. that's the vibe. one (1) function, no cap. π
πΈ 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.
π 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. like, she's switching the vibe of your fd, fr fr.
Parameters
fdβ the file descriptor to manipulation π«ΆbβTRUEif non-blocking mode should be enabled,FALSEif it should be disabled
Returns
Zero on success, nonzero on failure. so like, 0 = ate π
, anything else = not it π.
π§ Author π§
Generated automatically by Doxygen for libdaemon from the source code. she was born from the source, main character energy, no notes. β¨
okay that's the whole page bestie, ilysm π«Ά β this was libdaemon, Version 0.14, dnonblock.h(3), and yeah the whole thing was auto-generated by Doxygen from the source code. iconic of her honestly. πππΈ
π¦ where this page comes from
- ubuntu noble: libdaemon-doc 0.14-7.1ubuntu4
- ubuntu questing: libdaemon-doc 0.14-7.1ubuntu4
- ubuntu resolute: libdaemon-doc 0.14-7.1ubuntu5
- ubuntu stonking: libdaemon-doc 0.14-7.1ubuntu5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms