aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-02-09 10:48:59 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-03-01 20:01:03 +0100
commitcf7fa0a1792a2e37930ed75cf45007cf365a9f64 (patch)
treead3a1547fbd8e06370d41f2367b0aa5fc2c40a5f /man3
parent7f0ec8eed6b67f0dab1cc7ca86defe9f73fb010c (diff)
downloadman-pages-cf7fa0a1792a2e37930ed75cf45007cf365a9f64.tar.gz
brk.2, chdir.2, chmod.2, chown.2, chroot.2, getpagesize.2, getsid.2, killpg.2, mknod.2, readlink.2, setpgid.2, setreuid.2, sigaltstack.2, stat.2, symlink.2, sync.2, truncate.2, vfork.2, wait.2, wait4.2, a64l.3, acosh.3, asinh.3, atanh.3, cbrt.3, ecvt.3, expm1.3, gcvt.3, getcwd.3, getdate.3, getdtablesize.3, getgrent.3, gethostid.3, getpass.3, getpwent.3, getsubopt.3, ilogb.3, insque.3, lockf.3, log1p.3, logb.3, mkstemp.3, mktemp.3, nextafter.3, posix_memalign.3, random.3, realpath.3, remainder.3, rint.3, scalb.3, siginterrupt.3, sigset.3, strdup.3, ualarm.3, usleep.3: Remove references to _XOPEN_SOURCE_EXTENDED in SYNOPSIS
_XOPEN_SOURCE_EXTENDED is obsolete (it existed in SUSv1, but not subsequent standards). _XOPEN_SOURCE >= 500 produces the same effects as (_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED). Modifying the SYNOPSIS of various ages that contain: _XOPEN_SOURCE\ >=\ 500 || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED to just: _XOPEN_SOURCE\ >=\ 500 This has the following benefits: a) Simplifying the SYNOPSIS by removing ancient historical information. b) Preventing users from being misled into using _XOPEN_SOURCE_EXTENDED in new source code. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/a64l.34
-rw-r--r--man3/acosh.36
-rw-r--r--man3/asinh.36
-rw-r--r--man3/atanh.36
-rw-r--r--man3/cbrt.36
-rw-r--r--man3/ecvt.311
-rw-r--r--man3/expm1.36
-rw-r--r--man3/gcvt.311
-rw-r--r--man3/getcwd.311
-rw-r--r--man3/getdate.34
-rw-r--r--man3/getdtablesize.34
-rw-r--r--man3/getgrent.310
-rw-r--r--man3/gethostid.34
-rw-r--r--man3/getpass.37
-rw-r--r--man3/getpwent.34
-rw-r--r--man3/getsubopt.36
-rw-r--r--man3/ilogb.37
-rw-r--r--man3/insque.34
-rw-r--r--man3/lockf.34
-rw-r--r--man3/log1p.36
-rw-r--r--man3/logb.36
-rw-r--r--man3/mkstemp.36
-rw-r--r--man3/mktemp.311
-rw-r--r--man3/nextafter.36
-rw-r--r--man3/posix_memalign.311
-rw-r--r--man3/random.34
-rw-r--r--man3/realpath.34
-rw-r--r--man3/remainder.36
-rw-r--r--man3/rint.36
-rw-r--r--man3/scalb.34
-rw-r--r--man3/siginterrupt.36
-rw-r--r--man3/sigset.34
-rw-r--r--man3/strdup.36
-rw-r--r--man3/ualarm.311
-rw-r--r--man3/usleep.311
35 files changed, 118 insertions, 111 deletions
diff --git a/man3/a64l.3 b/man3/a64l.3
index 35096aad85..378e6cd44b 100644
--- a/man3/a64l.3
+++ b/man3/a64l.3
@@ -27,8 +27,8 @@ Feature Test Macro Requirements for glibc (see
.br
.RS 4
.ad l
-_SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.RE
.ad
.SH DESCRIPTION
diff --git a/man3/acosh.3 b/man3/acosh.3
index d079fbe370..20be139d6c 100644
--- a/man3/acosh.3
+++ b/man3/acosh.3
@@ -56,9 +56,9 @@ Feature Test Macro Requirements for glibc (see
.ad l
.BR acosh ():
.RS 4
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE ||
-_POSIX_C_SOURCE\ >=\ 200112L
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+|| _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
.br
or
.I cc\ -std=c99
diff --git a/man3/asinh.3 b/man3/asinh.3
index cf1a96c476..06eb3ac511 100644
--- a/man3/asinh.3
+++ b/man3/asinh.3
@@ -56,9 +56,9 @@ Feature Test Macro Requirements for glibc (see
.ad l
.BR asinh ():
.RS 4
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE ||
-_POSIX_C_SOURCE\ >=\ 200112L
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+|| _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
.br
or
.I cc\ -std=c99
diff --git a/man3/atanh.3 b/man3/atanh.3
index 0bee12f1ce..211758a4bf 100644
--- a/man3/atanh.3
+++ b/man3/atanh.3
@@ -56,9 +56,9 @@ Feature Test Macro Requirements for glibc (see
.ad l
.BR atanh ():
.RS 4
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE ||
-_POSIX_C_SOURCE\ >=\ 200112L
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+|| _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
.br
or
.I cc\ -std=c99
diff --git a/man3/cbrt.3 b/man3/cbrt.3
index 4ccab24692..43e06c204b 100644
--- a/man3/cbrt.3
+++ b/man3/cbrt.3
@@ -52,9 +52,9 @@ Feature Test Macro Requirements for glibc (see
.BR cbrt ():
.br
.RS 4
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE ||
-_POSIX_C_SOURCE\ >=\ 200112L
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+|| _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
.br
or
.I cc\ -std=c99
diff --git a/man3/ecvt.3 b/man3/ecvt.3
index d66b0d7ee9..757f0b24a3 100644
--- a/man3/ecvt.3
+++ b/man3/ecvt.3
@@ -55,14 +55,15 @@ Feature Test Macro Requirements for glibc (see
Since glibc 2.12:
.nf
_SVID_SOURCE ||
- (_XOPEN_SOURCE\ >=\ 500 ||
- _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
- ! (_POSIX_C_SOURCE\ >=\ 200112L)
+.\" (_XOPEN_SOURCE\ >=\ 500 ||
+.\" _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
+ (_XOPEN_SOURCE\ >=\ 500)
+ ! (_POSIX_C_SOURCE\ >=\ 200112L)
.fi
.TP 4
Before glibc 2.12:
-_SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
- _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.PD
.RE
.ad b
diff --git a/man3/expm1.3 b/man3/expm1.3
index 97ab6a9c15..07df3c89b2 100644
--- a/man3/expm1.3
+++ b/man3/expm1.3
@@ -51,9 +51,9 @@ Feature Test Macro Requirements for glibc (see
.ad l
.BR expm1 ():
.RS 4
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE ||
-_POSIX_C_SOURCE\ >=\ 200112L
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+|| _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
.br
or
.I cc\ -std=c99
diff --git a/man3/gcvt.3 b/man3/gcvt.3
index 13d5e2dc20..9f9b99a1fe 100644
--- a/man3/gcvt.3
+++ b/man3/gcvt.3
@@ -50,14 +50,15 @@ Feature Test Macro Requirements for glibc (see
Since glibc 2.12:
.nf
_SVID_SOURCE ||
- (_XOPEN_SOURCE\ >=\ 500 ||
- _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
- ! (_POSIX_C_SOURCE\ >=\ 200112L)
+.\" (_XOPEN_SOURCE\ >=\ 500 ||
+.\" _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
+ (_XOPEN_SOURCE\ >=\ 500) &&
+ ! (_POSIX_C_SOURCE\ >=\ 200112L)
.fi
.TP 4
Before glibc 2.12:
-_SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
+_SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
.RE
.PD
.ad b
diff --git a/man3/getcwd.3 b/man3/getcwd.3
index 5138b4c573..7a83ff4e61 100644
--- a/man3/getcwd.3
+++ b/man3/getcwd.3
@@ -61,14 +61,15 @@ _GNU_SOURCE
Since glibc 2.12:
.nf
_BSD_SOURCE ||
- (_XOPEN_SOURCE\ >=\ 500 ||
- _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
- ! (_POSIX_C_SOURCE\ >=\ 200809L)
+.\" (_XOPEN_SOURCE\ >=\ 500 ||
+.\" _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
+ (_XOPEN_SOURCE\ >=\ 500)
+ ! (_POSIX_C_SOURCE\ >=\ 200809L)
.TP 4
.fi
Before glibc 2.12:
-_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.PD
.RE
.ad b
diff --git a/man3/getdate.3 b/man3/getdate.3
index c513052164..17389a4b70 100644
--- a/man3/getdate.3
+++ b/man3/getdate.3
@@ -49,8 +49,8 @@ Feature Test Macro Requirements for glibc (see
.BR getdate ():
.ad l
.RS 4
-_XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.RE
.br
.BR getdate_r ():
diff --git a/man3/getdtablesize.3 b/man3/getdtablesize.3
index 8bfe82f5a5..4f44a1d6e0 100644
--- a/man3/getdtablesize.3
+++ b/man3/getdtablesize.3
@@ -48,8 +48,8 @@ _BSD_SOURCE || ! (_POSIX_C_SOURCE\ >=\ 200112L)
.TP 4
.fi
Before glibc 2.12:
-_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.PD
.RE
.ad b
diff --git a/man3/getgrent.3 b/man3/getgrent.3
index 4616a843d7..ffdbdd9fd0 100644
--- a/man3/getgrent.3
+++ b/man3/getgrent.3
@@ -51,17 +51,17 @@ Feature Test Macro Requirements for glibc (see
.ad l
.BR setgrent ():
.RS 4
-_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED ||
+_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED ||
.br
-/* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
+ /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
.RE
.sp
.BR getgrent (),
.BR endgrent ():
.RS 4
-_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.RE
.PD
.ad b
diff --git a/man3/gethostid.3 b/man3/gethostid.3
index 5e5acce830..ab1bf95953 100644
--- a/man3/gethostid.3
+++ b/man3/gethostid.3
@@ -45,8 +45,8 @@ Feature Test Macro Requirements for glibc (see
.br
.BR gethostid ():
.RS 4
-_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.RE
.BR sethostid ():
.nf
diff --git a/man3/getpass.3 b/man3/getpass.3
index 832fa5025d..d7c8de90c5 100644
--- a/man3/getpass.3
+++ b/man3/getpass.3
@@ -42,9 +42,10 @@ Feature Test Macro Requirements for glibc (see
Since glibc 2.2.2:
.nf
_BSD_SOURCE ||
- (_XOPEN_SOURCE\ >=\ 500 ||
- _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
- ! (_POSIX_C_SOURCE\ >=\ 200112L)
+.\" (_XOPEN_SOURCE\ >=\ 500 ||
+.\" _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
+ (_XOPEN_SOURCE\ >=\ 500) &&
+ ! (_POSIX_C_SOURCE\ >=\ 200112L)
.fi
.TP 4
Before glibc 2.2.2:
diff --git a/man3/getpwent.3 b/man3/getpwent.3
index 2e7cc1c1b1..3dd4cb43d2 100644
--- a/man3/getpwent.3
+++ b/man3/getpwent.3
@@ -55,8 +55,8 @@ Feature Test Macro Requirements for glibc (see
.BR setpwent (),
.BR endpwent ():
.RS 4
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.RE
.ad b
.SH DESCRIPTION
diff --git a/man3/getsubopt.3 b/man3/getsubopt.3
index 240abc67e5..d572a8d340 100644
--- a/man3/getsubopt.3
+++ b/man3/getsubopt.3
@@ -40,10 +40,10 @@ Feature Test Macro Requirements for glibc (see
.ad l
.RS 4
.PD 0
-_XOPEN_SOURCE\ >= 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_XOPEN_SOURCE\ >= 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.br
-|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
+ || /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
.PD
.RE
.ad
diff --git a/man3/ilogb.3 b/man3/ilogb.3
index f7342ed8a1..f2384fef5d 100644
--- a/man3/ilogb.3
+++ b/man3/ilogb.3
@@ -48,10 +48,9 @@ Feature Test Macro Requirements for glibc (see
.ad l
.BR ilogb ():
.RS 4
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED ||
-_ISOC99_SOURCE ||
-_POSIX_C_SOURCE\ >=\ 200112L
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED ||
+_ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
.br
or
.I cc\ -std=c99
diff --git a/man3/insque.3 b/man3/insque.3
index 3159515fe0..bdde56b0a5 100644
--- a/man3/insque.3
+++ b/man3/insque.3
@@ -54,8 +54,8 @@ Feature Test Macro Requirements for glibc (see
.BR insque (),
.BR remque ():
.RS 4
-_SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.RE
.ad
.SH DESCRIPTION
diff --git a/man3/lockf.3 b/man3/lockf.3
index e5b407bab5..b08cd099c1 100644
--- a/man3/lockf.3
+++ b/man3/lockf.3
@@ -41,8 +41,8 @@ Feature Test Macro Requirements for glibc (see
.BR lockf ():
.ad l
.RS 4
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.RE
.ad
.SH DESCRIPTION
diff --git a/man3/log1p.3 b/man3/log1p.3
index f8a3667882..3d3e0c3f0a 100644
--- a/man3/log1p.3
+++ b/man3/log1p.3
@@ -50,9 +50,9 @@ Feature Test Macro Requirements for glibc (see
.ad l
.BR log1p ():
.RS 4
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE ||
-_POSIX_C_SOURCE\ >=\ 200112L
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+|| _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
.br
or
.I cc\ -std=c99
diff --git a/man3/logb.3 b/man3/logb.3
index 30bf911b55..72003bcd82 100644
--- a/man3/logb.3
+++ b/man3/logb.3
@@ -48,9 +48,9 @@ Feature Test Macro Requirements for glibc (see
.ad l
.BR logb ():
.RS 4
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE ||
-_POSIX_C_SOURCE\ >=\ 200112L
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+|| _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
.br
or
.I cc\ -std=c99
diff --git a/man3/mkstemp.3 b/man3/mkstemp.3
index 15a87e200c..4dfe4031be 100644
--- a/man3/mkstemp.3
+++ b/man3/mkstemp.3
@@ -57,10 +57,10 @@ Feature Test Macro Requirements for glibc (see
.ad l
.RS 4
.PD 0
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.br
-|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200112L
+ || /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200112L
.PD
.RE
.ad b
diff --git a/man3/mktemp.3 b/man3/mktemp.3
index 314f9af0bb..09351cbce9 100644
--- a/man3/mktemp.3
+++ b/man3/mktemp.3
@@ -53,13 +53,14 @@ Feature Test Macro Requirements for glibc (see
.TP 4
Since glibc 2.12:
_BSD_SOURCE || _SVID_SOURCE ||
- (_XOPEN_SOURCE\ >=\ 500 ||
- _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
- ! (_POSIX_C_SOURCE\ >=\ 200112L)
+.\" (_XOPEN_SOURCE\ >=\ 500 ||
+.\" _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
+ (_XOPEN_SOURCE\ >=\ 500) &&
+ ! (_POSIX_C_SOURCE\ >=\ 200112L)
.TP
Before glibc 2.12:
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
- _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.RE
.PD
.ad b
diff --git a/man3/nextafter.3 b/man3/nextafter.3
index 1bfb7dedc0..f06992b548 100644
--- a/man3/nextafter.3
+++ b/man3/nextafter.3
@@ -37,10 +37,10 @@ Feature Test Macro Requirements for glibc (see
.ad l
.BR nextafter ():
.RS 4
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED ||
-_ISOC99_SOURCE ||
_POSIX_C_SOURCE\ >=\ 200112L
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+|| _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
.br
or
.I cc\ -std=c99
diff --git a/man3/posix_memalign.3 b/man3/posix_memalign.3
index a2de2fd0bd..fea9dc5f65 100644
--- a/man3/posix_memalign.3
+++ b/man3/posix_memalign.3
@@ -63,15 +63,16 @@ _ISOC11_SOURCE
Since glibc 2.12:
.nf
_BSD_SOURCE ||
- (_XOPEN_SOURCE\ >=\ 500 ||
- _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
- !(_POSIX_C_SOURCE\ >=\ 200112L)
+.\" (_XOPEN_SOURCE\ >=\ 500 ||
+.\" _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
+ (_XOPEN_SOURCE\ >=\ 500) &&
+ !(_POSIX_C_SOURCE\ >=\ 200112L)
.br
.fi
.TP
Before glibc 2.12:
-_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.ad b
.br
(The (nonstandard) header file
diff --git a/man3/random.3 b/man3/random.3
index fb2ee22fc8..4c81eb0106 100644
--- a/man3/random.3
+++ b/man3/random.3
@@ -57,8 +57,8 @@ Feature Test Macro Requirements for glibc (see
.BR initstate (),
.BR setstate ():
.RS 4
-_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.RE
.ad
.SH DESCRIPTION
diff --git a/man3/realpath.3 b/man3/realpath.3
index 85395bfc6f..ffde120cde 100644
--- a/man3/realpath.3
+++ b/man3/realpath.3
@@ -44,8 +44,8 @@ Feature Test Macro Requirements for glibc (see
.BR realpath ():
.ad l
.RS 4
-_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.RE
.ad
.SH DESCRIPTION
diff --git a/man3/remainder.3 b/man3/remainder.3
index 71d5473d21..cea0dc130a 100644
--- a/man3/remainder.3
+++ b/man3/remainder.3
@@ -63,9 +63,9 @@ Feature Test Macro Requirements for glibc (see
.ad l
.BR remainder ():
.RS 4
-_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED ||
-_ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
+_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED ||
+|| _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
.br
or
.I cc\ -std=c99
diff --git a/man3/rint.3 b/man3/rint.3
index f46a4ebccf..c43e35f898 100644
--- a/man3/rint.3
+++ b/man3/rint.3
@@ -65,9 +65,9 @@ or
.br
.BR rint ():
.RS 4
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE ||
-_POSIX_C_SOURCE\ >=\ 200112L
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+|| _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
.br
or
.I cc\ -std=c99
diff --git a/man3/scalb.3 b/man3/scalb.3
index 36b636725a..57dbfb2ea0 100644
--- a/man3/scalb.3
+++ b/man3/scalb.3
@@ -47,8 +47,8 @@ Feature Test Macro Requirements for glibc (see
.ad l
.BR scalb ():
.RS 4
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.RE
.br
.BR scalbf (),
diff --git a/man3/siginterrupt.3 b/man3/siginterrupt.3
index 05b1b0af97..24fdc8e67a 100644
--- a/man3/siginterrupt.3
+++ b/man3/siginterrupt.3
@@ -46,10 +46,10 @@ Feature Test Macro Requirements for glibc (see
.BR siginterrupt ():
.ad l
.RS 4
-_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.br
-|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
+ || /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
.RE
.ad
.SH DESCRIPTION
diff --git a/man3/sigset.3 b/man3/sigset.3
index 9b3019c0b6..428155667a 100644
--- a/man3/sigset.3
+++ b/man3/sigset.3
@@ -51,8 +51,8 @@ Feature Test Macro Requirements for glibc (see
.BR sigignore ():
.br
.RS 4
-_XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.RE
.ad
.SH DESCRIPTION
diff --git a/man3/strdup.3 b/man3/strdup.3
index 58fc3443d5..255367c0cf 100644
--- a/man3/strdup.3
+++ b/man3/strdup.3
@@ -53,10 +53,10 @@ Feature Test Macro Requirements for glibc (see
.sp
.BR strdup ():
.RS 4
-_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.br
-|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
+ || /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
.RE
.PP
.BR strndup ():
diff --git a/man3/ualarm.3 b/man3/ualarm.3
index 5bc2f0c456..91fd6275ae 100644
--- a/man3/ualarm.3
+++ b/man3/ualarm.3
@@ -44,14 +44,15 @@ Feature Test Macro Requirements for glibc (see
Since glibc 2.12:
.nf
_BSD_SOURCE ||
- (_XOPEN_SOURCE\ >=\ 500 ||
- _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
- ! (_POSIX_C_SOURCE\ >=\ 200809L)
+.\" (_XOPEN_SOURCE\ >=\ 500 ||
+.\" _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
+ (_XOPEN_SOURCE\ >=\ 500) &&
+ ! (_POSIX_C_SOURCE\ >=\ 200809L)
.TP 4
.fi
Before glibc 2.12:
-_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.PD
.RE
.ad b
diff --git a/man3/usleep.3 b/man3/usleep.3
index 586ed68064..975d34a301 100644
--- a/man3/usleep.3
+++ b/man3/usleep.3
@@ -53,14 +53,15 @@ Feature Test Macro Requirements for glibc (see
Since glibc 2.12:
.nf
_BSD_SOURCE ||
- (_XOPEN_SOURCE\ >=\ 500 ||
- _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
- ! (_POSIX_C_SOURCE\ >=\ 200809L)
+.\" (_XOPEN_SOURCE\ >=\ 500 ||
+.\" _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
+ (_XOPEN_SOURCE\ >=\ 500) &&
+ ! (_POSIX_C_SOURCE\ >=\ 200809L)
.TP 4
.fi
Before glibc 2.12:
-_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
-_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
+.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.PD
.RE
.ad b