aboutsummaryrefslogtreecommitdiffstats
path: root/man3/getusershell.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-02-08 09:01:55 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-03-01 20:01:03 +0100
commitd05445341998d5099f4868caaa6b959da47faed6 (patch)
treed1f2ea56120cc832af48d2413ac1c0ca6d845009 /man3/getusershell.3
parent344c74c02aaabd775259f0b794f1b2366fa789b9 (diff)
downloadman-pages-d05445341998d5099f4868caaa6b959da47faed6.tar.gz
acct.2, getdomainname.2, gethostname.2, vhangup.2, daemon.3, gethostid.3, getusershell.3, profil.3: Update feature test macro requirements
Update to use _DEFAULT_SOURCE, and also changes brought by glibc commit 266865c0e7b79d4196e2cc393693463f03c90bd8. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/getusershell.3')
-rw-r--r--man3/getusershell.312
1 files changed, 9 insertions, 3 deletions
diff --git a/man3/getusershell.3 b/man3/getusershell.3
index da439c6617..869c89ff50 100644
--- a/man3/getusershell.3
+++ b/man3/getusershell.3
@@ -50,9 +50,15 @@ Feature Test Macro Requirements for glibc (see
.BR getusershell (),
.BR setusershell (),
.BR endusershell ():
-.RS 4
-_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
-.RE
+.nf
+ Since glibc 2.21:
+.\" commit 266865c0e7b79d4196e2cc393693463f03c90bd8
+ _DEFAULT_SOURCE
+ In glibc 2.19 and 2.20:
+ _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
+ Up to and including glibc 2.19:
+ _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
+.fi
.ad b
.SH DESCRIPTION
The