FD_CLR(3POSIX)

🌸 FD_CLR β€” macros for synchronous I/O multiplexing 🌸

okay bestie, this one's from the POSIX Programmer's Manual β€” it's FD_CLR(3POSIX), and it's literally the tiniest page you've ever seen, but we're gonna treat it with the respect it deserves πŸ’…


πŸ“œ PROLOG

This manual page is part of the POSIX Programmer's Manual. Heads up though, bestie: the Linux implementation of this interface may differ (so go peek at the corresponding Linux manual page if you need the tea on Linux behavior), or honestly the interface may not be implemented on Linux at all. Not me being dramatic, that's just what it says. 😭


✨ NAME ✨

FD_CLR β€” macros for synchronous I/O multiplexing πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

#include <sys/select.h>

void FD_CLR(int fd, fd_set *fdset);
int FD_ISSET(int fd, fd_set *fdset);
void FD_SET(int fd, fd_set *fdset);
void FD_ZERO(fd_set *fdset);

look at that little family of four, all matching, all iconic πŸ‘‘


πŸ’– DESCRIPTION πŸ’–

Refer to pselect().

that's it. that's the whole description. the way that this page said "go ask pselect()" and clocked out 😭 go read pselect() bestie, everything you actually want is over there 🫢


Some of this text is reprinted and reproduced in electronic form from IEEE Std 1003.1-2017, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. And fr fr, if this version and the original IEEE and The Open Group Standard ever disagree on something, the original IEEE and The Open Group Standard is the referee document β€” it wins, no cap. You can grab the original Standard online at http://www.opengroup.org/unix/online.html .

Also, any typographical or formatting errors chilling in this page were most likely introduced when the source files got converted into man page format. To report errors like that, go to https://www.kernel.org/doc/man-pages/reporting_bugs.html .


πŸ’€ real talk though: those conversion gremlins are NOT us, we just live here

and that's the whole page, bestie β€” short, sweet, and 100% carried by pselect(). this edition was served to you by IEEE/The Open Group, 2017, from the FD_CLR(3POSIX) era. stan a concise manpage πŸ’–βœ¨πŸŽ€