summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-08-25 17:51:56 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-08-27 01:17:59 +0200
commitfb74563941f0c28cdfb7e503474dc2119c843423 (patch)
treef585fcbb9b573446182ca1ecf4cda6e2675cea16
parent111ccf7e901ab9f383b50d88bf8c0b39dd4c1e83 (diff)
getaddrinfo.3: Note that 'errno' is set in parallel with EAI_SYSTEM
The previous wording wasn't very explicit, leaving room for believing that 'errno' may be 0 after returning EAI_SYSTEM. Use a wording similar to other pages, for added consistency. [mtk: edited commit message title; also, POSIX notes that 'errno' is set in this case.] Reported-by: Cristian Morales Vega <christian.morales.vega@gmail.com> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/getaddrinfo.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/getaddrinfo.3 b/man3/getaddrinfo.3
index 35071b733..1e13e3ef2 100644
--- a/man3/getaddrinfo.3
+++ b/man3/getaddrinfo.3
@@ -583,9 +583,9 @@ and
respectively).
.TP
.B EAI_SYSTEM
-Other system error, check
+Other system error;
.I errno
-for details.
+is set to indicate the error.
.PP
The
.BR gai_strerror ()