mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +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
Notes:
sideshowbarker
2024-07-19 05:23:59 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/55a22b50c9d
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…
Reference in a new issue