mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +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:
parent
28bfd73b68
commit
55a22b50c9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue