aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2021-01-07 10:42:25 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-01-07 14:29:14 +0100
commit8c7307e8c6461cea18cd1ba8baf3e50954bb51f8 (patch)
treeae95cac33b279af48b64280692a105c2bc4e07f1
parente46baa444324a1740fae8f26a172268ce200d183 (diff)
downloadman-pages-8c7307e8c6461cea18cd1ba8baf3e50954bb51f8.tar.gz
rcmd.3: wfix (errno)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/rcmd.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/rcmd.3 b/man3/rcmd.3
index f2f2d03a11..f3c0c82d82 100644
--- a/man3/rcmd.3
+++ b/man3/rcmd.3
@@ -251,9 +251,9 @@ The
.BR rresvport ()
function
returns a valid, bound socket descriptor on success.
-It returns \-1 on error with the global value
+On failure, it returns \-1 and sets
.I errno
-set according to the reason for failure.
+to indicate the error.
The error code
.BR EAGAIN
is overloaded to mean "All network ports in use."