summaryrefslogtreecommitdiff
path: root/Base
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-25 10:52:36 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-25 10:58:37 +0200
commit55a22b50c9dea72b6ed5f8dea3455e9a903560c4 (patch)
tree981c62acb21f577756018cb4b60d9474a2a4193e /Base
parent28bfd73b68c28470ab221e42571049bf1eb48ce1 (diff)
downloadserenity-55a22b50c9dea72b6ed5f8dea3455e9a903560c4.zip
Base: Fix wording in recvfd(2)
recvfd() returns a *non-negative* integer on success. 0 is a valid fd.
Diffstat (limited to 'Base')
-rw-r--r--Base/usr/share/man/man2/recvfd.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/Base/usr/share/man/man2/recvfd.md b/Base/usr/share/man/man2/recvfd.md
index f7d072b498..0629d6af09 100644
--- a/Base/usr/share/man/man2/recvfd.md
+++ b/Base/usr/share/man/man2/recvfd.md
@@ -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