mirror of https://github.com/mkerrisk/man-pages
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>
This commit is contained in:
parent
111ccf7e90
commit
fb74563941
|
@ -583,9 +583,9 @@ and
|
||||||
respectively).
|
respectively).
|
||||||
.TP
|
.TP
|
||||||
.B EAI_SYSTEM
|
.B EAI_SYSTEM
|
||||||
Other system error, check
|
Other system error;
|
||||||
.I errno
|
.I errno
|
||||||
for details.
|
is set to indicate the error.
|
||||||
.PP
|
.PP
|
||||||
The
|
The
|
||||||
.BR gai_strerror ()
|
.BR gai_strerror ()
|
||||||
|
|
Loading…
Reference in New Issue