All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab-l3A5Bk7waGM@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH] getaddrinfo.3: require POSIX.1-2001
Date: Mon, 10 Aug 2015 12:33:12 +0200	[thread overview]
Message-ID: <mvmio8nmo0n.fsf@hawking.suse.de> (raw)

Since glibc 2.22 getaddrinfo etc. are only declared for POSIX.1-2001 or later.

Signed-off-by: Andreas Schwab <schwab-l3A5Bk7waGM@public.gmane.org>
---
 man3/getaddrinfo.3 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/man3/getaddrinfo.3 b/man3/getaddrinfo.3
index 7bf815a..a746bf4 100644
--- a/man3/getaddrinfo.3
+++ b/man3/getaddrinfo.3
@@ -70,7 +70,8 @@ Feature Test Macro Requirements for glibc (see
 .BR freeaddrinfo (),
 .BR gai_strerror ():
 .RS 4
-_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
+_XOPEN_SOURCE\ >=\ 600 || _POSIX_C_SOURCE\ >=\ 200112L
+.\" since glibc 2.22
 .RE
 .ad b
 .SH DESCRIPTION
-- 
2.5.0


-- 
Andreas Schwab, SUSE Labs, schwab-l3A5Bk7waGM@public.gmane.org
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
--
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

             reply	other threads:[~2015-08-10 10:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-10 10:33 Andreas Schwab [this message]
     [not found] ` <mvmio8nmo0n.fsf-8jEJWzg51KSXcDkGTvBoYw@public.gmane.org>
2016-03-09  1:23   ` [PATCH] getaddrinfo.3: require POSIX.1-2001 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=mvmio8nmo0n.fsf@hawking.suse.de \
    --to=schwab-l3a5bk7wagm@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.