[PATCH] getaddrinfo_a.3: tfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Élie Bouttier <elie@xxxxxxxxxxx>

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
---
 man3/getaddrinfo_a.3 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/man3/getaddrinfo_a.3 b/man3/getaddrinfo_a.3
index ba7fab5..d8ca129 100644
--- a/man3/getaddrinfo_a.3
+++ b/man3/getaddrinfo_a.3
@@ -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
-- 
2.8.2
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux