aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man3/getusershell.32
-rw-r--r--man3/getw.316
2 files changed, 14 insertions, 4 deletions
diff --git a/man3/getusershell.3 b/man3/getusershell.3
index d50ef8c360..b31e2d6dae 100644
--- a/man3/getusershell.3
+++ b/man3/getusershell.3
@@ -48,7 +48,9 @@ Feature Test Macro Requirements for glibc (see
.BR getusershell (),
.BR setusershell (),
.BR endusershell ():
+.RS 4
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
+.RE
.ad b
.SH DESCRIPTION
The
diff --git a/man3/getw.3 b/man3/getw.3
index a2d926fd7d..47e0f4e5d8 100644
--- a/man3/getw.3
+++ b/man3/getw.3
@@ -39,12 +39,20 @@ Feature Test Macro Requirements for glibc (see
.sp
.BR gutw (),
.BR putw ():
-.br
-Since glibc 2.3.3: _SVID_SOURCE || _BSD_SOURCE ||
+.ad l
+.PD 0
+.RS 4
+.TP 4
+Since glibc 2.3.3:
+_SVID_SOURCE || _BSD_SOURCE ||
(_XOPEN_SOURCE && !(_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600))
-.br
-Before glibc 2.3.3: _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE
+.TP
+Before glibc 2.3.3:
+_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE
_GNU_SOURCE
+.RE
+.PD
+.ad
.SH DESCRIPTION
.BR getw ()
reads a word (that is, an \fIint\fP) from \fIstream\fP.