1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:27:35 +00:00

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

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