From b40ec4cbf85bebdd768fce6f624d30247c5531d3 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 9 Feb 2016 12:18:31 +0100 Subject: [PATCH] ttyslot.3: Update FTM requirements (_DEFAULT_SOURCE) And remove mention of obsolete _XOPEN_SOURCE_EXTENDED Signed-off-by: Michael Kerrisk --- man3/ttyslot.3 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/man3/ttyslot.3 b/man3/ttyslot.3 index 63388baff..71143b58c 100644 --- a/man3/ttyslot.3 +++ b/man3/ttyslot.3 @@ -43,9 +43,13 @@ Feature Test Macro Requirements for glibc (see .ad l .BR ttyslot (): .RS 4 -_BSD_SOURCE || +Since glibc 2.20: + _BSD_SOURCE || + _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_\ <\ 500 .br -_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_\ <\ 500\ &&\ _XOPEN_SOURCE_EXTENDED +Glibc 2.19 and earlier: + _DEFAULT_SOURCE || + _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_\ <\ 500 .RE .ad b .SH DESCRIPTION