getaddrinfo_a.3: tfix

EAI_CANCELED and EAI_NOTCANCELED are defined without double L in resolv/netdb.h from glibc.
See https://sourceware.org/git/?p=glibc.git;a=blob;f=resolv/netdb.h;h=3aba530932c7a62a4f23e3193e9186da677f552b;hb=HEAD#l632
This commit is contained in:
Élie Bouttier 2016-05-10 16:28:07 +02:00 committed by Michael Kerrisk
parent 34c33fd768
commit 819eeff4c6
1 changed files with 4 additions and 4 deletions

View File

@ -229,7 +229,7 @@ function cancels the request
.IR req .
If the request has been canceled successfully,
the error status of the request will be set to
.B EAI_CANCELLED
.B EAI_CANCELED
and normal asynchronous notification will be performed.
The request cannot be canceled if it is currently being processed;
in that case, it will be handled as if
@ -282,17 +282,17 @@ for an unfinished look-up request,
(as described above), one of the error codes that could be returned by
.BR getaddrinfo (3),
or the error code
.B EAI_CANCELLED
.B EAI_CANCELED
if the request has been canceled explicitly before it could be finished.
The
.BR gai_cancel ()
function can return one of these values:
.TP
.B EAI_CANCELLED
.B EAI_CANCELED
The request has been canceled successfully.
.TP
.B EAI_NOTCANCELLED
.B EAI_NOTCANCELED
The request has not been canceled.
.TP
.B EAI_ALLDONE