aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2021-01-04 15:23:05 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-01-04 15:47:04 +0100
commit255d42333e34f684356b1fd16afc7a90ebefc8fe (patch)
treec330ce957e5de1302dec528df786cf38d18bc981 /man3
parentc418bc9d166b95627dd6d079607f5bee1a9b0db0 (diff)
downloadman-pages-255d42333e34f684356b1fd16afc7a90ebefc8fe.tar.gz
chroot.2, rename.2, getgrent.3, nextafter.3, ttyslot.3, wprintf.3: ffix
Bring a bit more consistency to the layout of FTMs. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/getgrent.33
-rw-r--r--man3/nextafter.34
-rw-r--r--man3/ttyslot.36
-rw-r--r--man3/wprintf.311
4 files changed, 9 insertions, 15 deletions
diff --git a/man3/getgrent.3 b/man3/getgrent.3
index 81f98a218f..c36baf20b6 100644
--- a/man3/getgrent.3
+++ b/man3/getgrent.3
@@ -59,9 +59,8 @@ _XOPEN_SOURCE\ >=\ 500
.BR endgrent ():
.RS 4
Since glibc 2.22:
- _XOPEN_SOURCE\ >=\ 500 ||
+ _XOPEN_SOURCE\ >=\ 500 || _DEFAULT_SOURCE
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
- _DEFAULT_SOURCE
.br
Glibc 2.21 and earlier
_XOPEN_SOURCE\ >=\ 500
diff --git a/man3/nextafter.3 b/man3/nextafter.3
index a1143a359f..f7cbb32d06 100644
--- a/man3/nextafter.3
+++ b/man3/nextafter.3
@@ -54,8 +54,8 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
.BR nexttowardf (),
.BR nexttowardl ():
.RS 4
-_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
-_POSIX_C_SOURCE\ >=\ 200112L
+_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE
+ || _POSIX_C_SOURCE\ >=\ 200112L
.RE
.ad b
.SH DESCRIPTION
diff --git a/man3/ttyslot.3 b/man3/ttyslot.3
index 9336346697..de2ba59e71 100644
--- a/man3/ttyslot.3
+++ b/man3/ttyslot.3
@@ -47,12 +47,10 @@ Since glibc 2.24:
_DEFAULT_SOURCE
.br
From glibc 2.20 to 2.23:
- _DEFAULT_SOURCE ||
- _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE\ <\ 500
+ _DEFAULT_SOURCE || (_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE\ <\ 500)
.br
Glibc 2.19 and earlier:
- _BSD_SOURCE ||
- _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE\ <\ 500
+ _BSD_SOURCE || (_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE\ <\ 500)
.RE
.ad b
.SH DESCRIPTION
diff --git a/man3/wprintf.3 b/man3/wprintf.3
index b57657bc24..a98e17ed13 100644
--- a/man3/wprintf.3
+++ b/man3/wprintf.3
@@ -38,20 +38,17 @@ Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.RE
.PP
-.ad l
All functions shown above:
-.RS 4
.\" .BR wprintf (),
.\" .BR fwprintf (),
.\" .BR swprintf (),
.\" .BR vwprintf (),
.\" .BR vfwprintf (),
.\" .BR vswprintf ():
-_XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE ||
-.br
-_POSIX_C_SOURCE\ >=\ 200112L
-.RE
-.ad
+.nf
+ _XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE ||
+ _POSIX_C_SOURCE\ >=\ 200112L
+.fi
.SH DESCRIPTION
The
.BR wprintf ()