select.2: Note that FD_SET() and FD_CLR() do not return errors

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-02-18 13:15:45 +01:00
parent a84ed70098
commit 95a85f1438
1 changed files with 4 additions and 0 deletions

View File

@ -125,12 +125,16 @@ This macro adds the file descriptor
.I fd
to
.IR set .
Adding a file descriptor that is already present in the set is a no-op,
and does not produce an error.
.TP
.BR FD_CLR ()
This macro removes the file descriptor
.I fd
from
.IR set .
Removing a file descriptor that is not present in the set is a no-op,
and does not produce an error.
.TP
.BR FD_ISSET ()
.BR select ()