From 55a22b50c9dea72b6ed5f8dea3455e9a903560c4 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 25 Jun 2020 10:52:36 +0200 Subject: [PATCH] Base: Fix wording in recvfd(2) recvfd() returns a *non-negative* integer on success. 0 is a valid fd. --- Base/usr/share/man/man2/recvfd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Base/usr/share/man/man2/recvfd.md b/Base/usr/share/man/man2/recvfd.md index f7d072b498e..0629d6af096 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