Skip to contentSkip to conversation

getaddrinfo.3: wfix

PATCH In review Alejandro Colomar 2 participants 2 messages Aug 25, 2021 – Aug 26, 2021 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 getaddrinfo.3: wfix

The previous wording wan'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.

---
 man3/getaddrinfo.3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
man3/getaddrinfo.3 +2 -2
index 35071b733..1e13e3ef2 100644
@@ -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 ()
Signature · 1 line
2.33.0
#1 lore raw

Hello Alex, Christian,

Quoted 7 lines · Alejandro Colomar

The previous wording wan'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.

Thanks. Patch applied.

Cheers,

Michael

Quoted 21 lines
---
 man3/getaddrinfo.3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
man3/getaddrinfo.3 +2 -2
index 35071b733..1e13e3ef2 100644
@@ -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 ()
Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/