From: elie-Sg7ocfseCdfsq35pWSNszA@public.gmane.org
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
"Élie Bouttier" <elie-Sg7ocfseCdfsq35pWSNszA@public.gmane.org>
Subject: [PATCH] getaddrinfo_a.3: tfix
Date: Tue, 10 May 2016 16:28:07 +0200 [thread overview]
Message-ID: <1462890487-19482-1-git-send-email-elie@bouttier.eu> (raw)
From: Élie Bouttier <elie-Sg7ocfseCdfsq35pWSNszA@public.gmane.org>
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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2016-05-10 14:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-10 14:28 elie-Sg7ocfseCdfsq35pWSNszA [this message]
[not found] ` <1462890487-19482-1-git-send-email-elie-Sg7ocfseCdfsq35pWSNszA@public.gmane.org>
2016-05-11 6:38 ` [PATCH] getaddrinfo_a.3: tfix Michael Kerrisk (man-pages)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1462890487-19482-1-git-send-email-elie@bouttier.eu \
--to=elie-sg7ocfsecdfsq35pwsnsza@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).