From 8c7307e8c6461cea18cd1ba8baf3e50954bb51f8 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 7 Jan 2021 10:42:25 +0100 Subject: rcmd.3: wfix (errno) Signed-off-by: Michael Kerrisk --- man3/rcmd.3 | 4 ++-- 1 file 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." -- cgit 1.2.3-korg