aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
Diffstat (limited to 'man3')
-rw-r--r--man3/daemon.310
-rw-r--r--man3/gethostid.312
-rw-r--r--man3/getusershell.312
-rw-r--r--man3/profil.310
4 files changed, 36 insertions, 8 deletions
diff --git a/man3/daemon.3 b/man3/daemon.3
index 36cd1554d2..0e6591487c 100644
--- a/man3/daemon.3
+++ b/man3/daemon.3
@@ -47,7 +47,15 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.BR daemon ():
-_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
+.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
.SH DESCRIPTION
The
.BR daemon ()
diff --git a/man3/gethostid.3 b/man3/gethostid.3
index fbfcc94278..5e5acce830 100644
--- a/man3/gethostid.3
+++ b/man3/gethostid.3
@@ -49,9 +49,15 @@ _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.RE
.BR sethostid ():
-.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
.BR gethostid ()
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
diff --git a/man3/profil.3 b/man3/profil.3
index 15d9a9e0fc..1491990993 100644
--- a/man3/profil.3
+++ b/man3/profil.3
@@ -42,7 +42,15 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.BR profil ():
-_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
+.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
.SH DESCRIPTION
This routine provides a means to find out in what areas your program
spends most of its time.