浏览代码

Base: Fix wording in recvfd(2)

recvfd() returns a *non-negative* integer on success. 0 is a valid fd.
Andreas Kling 5 年之前
父节点
当前提交
55a22b50c9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Base/usr/share/man/man2/recvfd.md

+ 1 - 1
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