Base: Fix wording in recvfd(2)

recvfd() returns a *non-negative* integer on success. 0 is a valid fd.
This commit is contained in:
Andreas Kling 2020-06-25 10:52:36 +02:00
parent 28bfd73b68
commit 55a22b50c9
Notes: sideshowbarker 2024-07-19 05:23:59 +09:00

View file

@ -18,7 +18,7 @@ File descriptors are sent out-of-band and do not affect the regular data streams
## Return value
If a file descriptor is successfully received, it is returned as a positive integer. Otherwise, -1 is returned and `errno` is set to indicate the error.
If a file descriptor is successfully received, it is returned as a non-negative integer. Otherwise, -1 is returned and `errno` is set to indicate the error.
## Errors