From 98c9347c157d5cfbd1ff157dd1087e2143adc3f0 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 31 Dec 2020 09:41:12 +0100 Subject: [PATCH] Various pages: Formatting fix Use .PP (which gives a bit of vertical white space) rather than .br to separate functions in Feature Test Macro requirement lists. Signed-off-by: Michael Kerrisk --- man2/fsync.2 | 2 +- man2/gethostname.2 | 4 +--- man2/wait4.2 | 2 +- man3/acosh.3 | 2 +- man3/cbrt.3 | 2 +- man3/erf.3 | 2 +- man3/erfc.3 | 2 +- man3/expm1.3 | 2 +- man3/finite.3 | 5 ++++- man3/getdate.3 | 2 +- man3/getgrent_r.3 | 2 +- man3/getpwent_r.3 | 2 +- man3/hypot.3 | 2 +- man3/j0.3 | 2 +- man3/lgamma.3 | 4 +++- man3/log1p.3 | 2 +- man3/logb.3 | 2 +- man3/mkstemp.3 | 4 ++-- man3/nextafter.3 | 4 ++-- man3/psignal.3 | 2 +- man3/remainder.3 | 4 ++-- man3/rint.3 | 4 ++-- man3/scalb.3 | 2 +- man3/scalbln.3 | 2 +- man3/strsignal.3 | 2 +- man3/tzset.3 | 4 ++-- man3/y0.3 | 2 +- 27 files changed, 37 insertions(+), 34 deletions(-) diff --git a/man2/fsync.2 b/man2/fsync.2 index 75399b630..f00bd6cdc 100644 --- a/man2/fsync.2 +++ b/man2/fsync.2 @@ -56,7 +56,7 @@ Feature Test Macro Requirements for glibc (see Glibc up to and including 2.15: _BSD_SOURCE || _XOPEN_SOURCE || /* since glibc 2.8: */ _POSIX_C_SOURCE\ >=\ 200112L -.br +.PP .BR fdatasync (): _POSIX_C_SOURCE\ >=\ 199309L || _XOPEN_SOURCE\ >=\ 500 .SH DESCRIPTION diff --git a/man2/gethostname.2 b/man2/gethostname.2 index 0f45b6392..71ac72f2b 100644 --- a/man2/gethostname.2 +++ b/man2/gethostname.2 @@ -45,7 +45,6 @@ Feature Test Macro Requirements for glibc (see .RE .PP .ad l -.PD 0 .BR gethostname (): .RS 4 Since glibc 2.12: @@ -53,7 +52,7 @@ _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 .br || /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200112L .RE -.br +.PP .BR sethostname (): .nf Since glibc 2.21: @@ -64,7 +63,6 @@ _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 Up to and including glibc 2.19: _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500) .fi -.PD .ad .SH DESCRIPTION These system calls are used to access or to change the system hostname. diff --git a/man2/wait4.2 b/man2/wait4.2 index 64e8f6f99..2835bd8fd 100644 --- a/man2/wait4.2 +++ b/man2/wait4.2 @@ -63,7 +63,7 @@ Feature Test Macro Requirements for glibc (see Glibc 2.19 and earlier: _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 .\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED -.br +.PP .BR wait4 (): Since glibc 2.19: _DEFAULT_SOURCE diff --git a/man3/acosh.3 b/man3/acosh.3 index 739c25432..18d62c54e 100644 --- a/man3/acosh.3 +++ b/man3/acosh.3 @@ -60,7 +60,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE -.br +.PP .BR acoshf (), .BR acoshl (): .RS 4 diff --git a/man3/cbrt.3 b/man3/cbrt.3 index 2fb6c59d7..e20444e8e 100644 --- a/man3/cbrt.3 +++ b/man3/cbrt.3 @@ -48,7 +48,6 @@ Feature Test Macro Requirements for glibc (see .PP .ad l .BR cbrt (): -.br .RS 4 _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || _XOPEN_SOURCE\ >=\ 500 @@ -56,6 +55,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE +.PP .BR cbrtf (), .BR cbrtl (): .RS 4 diff --git a/man3/erf.3 b/man3/erf.3 index 8266bff1f..66c02868e 100644 --- a/man3/erf.3 +++ b/man3/erf.3 @@ -58,7 +58,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || _XOPEN_SOURCE || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE -.br +.PP .BR erff (), .BR erfl (): .RS 4 diff --git a/man3/erfc.3 b/man3/erfc.3 index 6d762b04d..89c9772e0 100644 --- a/man3/erfc.3 +++ b/man3/erfc.3 @@ -49,7 +49,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || _XOPEN_SOURCE || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE -.br +.PP .BR erfcf (), .BR erfcl (): .RS 4 diff --git a/man3/expm1.3 b/man3/expm1.3 index 24d9d0f8c..30e4dfe15 100644 --- a/man3/expm1.3 +++ b/man3/expm1.3 @@ -55,7 +55,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE -.br +.PP .BR expm1f (), .BR expm1l (): .RS 4 diff --git a/man3/finite.3 b/man3/finite.3 index 8af1e0a6c..fc5b878a7 100644 --- a/man3/finite.3 +++ b/man3/finite.3 @@ -56,25 +56,28 @@ Feature Test Macro Requirements for glibc (see /* Glibc since 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE +.PP .BR isinf (): .RS 4 _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE || /* Glibc since 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE -.br +.PP .BR isinff (), .BR isinfl (): .RS 4 /* Glibc since 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE +.PP .BR isnan (): .RS 4 _XOPEN_SOURCE || _ISOC99_SOURCE || /* Glibc since 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE +.PP .BR isnanf (), .BR isnanl (): .RS 4 diff --git a/man3/getdate.3 b/man3/getdate.3 index 60254a9b6..5c686e938 100644 --- a/man3/getdate.3 +++ b/man3/getdate.3 @@ -52,7 +52,7 @@ Feature Test Macro Requirements for glibc (see _XOPEN_SOURCE\ >=\ 500 .\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED .RE -.br +.PP .BR getdate_r (): .ad l .RS 4 diff --git a/man3/getgrent_r.3 b/man3/getgrent_r.3 index 7d16c1433..fbc2ee09c 100644 --- a/man3/getgrent_r.3 +++ b/man3/getgrent_r.3 @@ -43,7 +43,7 @@ Feature Test Macro Requirements for glibc (see .BR getgrent_r (): _GNU_SOURCE .\" FIXME . The FTM requirements seem inconsistent here. File a glibc bug? -.br +.PP .BR fgetgrent_r (): Since glibc 2.19: _DEFAULT_SOURCE diff --git a/man3/getpwent_r.3 b/man3/getpwent_r.3 index 41d62ac15..261552dec 100644 --- a/man3/getpwent_r.3 +++ b/man3/getpwent_r.3 @@ -45,7 +45,7 @@ Feature Test Macro Requirements for glibc (see _DEFAULT_SOURCE Glibc 2.19 and earlier: _BSD_SOURCE || _SVID_SOURCE -.br +.PP .BR fgetpwent_r (): Since glibc 2.19: _DEFAULT_SOURCE diff --git a/man3/hypot.3 b/man3/hypot.3 index 73f95544a..13e2ac3ad 100644 --- a/man3/hypot.3 +++ b/man3/hypot.3 @@ -57,7 +57,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE -.br +.PP .BR hypotf (), .BR hypotl (): .RS 4 diff --git a/man3/j0.3 b/man3/j0.3 index 84f8f60a3..c5fa320bd 100644 --- a/man3/j0.3 +++ b/man3/j0.3 @@ -70,7 +70,7 @@ _XOPEN_SOURCE || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE .RE -.br +.PP .BR j0f (), .BR j0l (), .BR j1f (), diff --git a/man3/lgamma.3 b/man3/lgamma.3 index 867e62aae..8e0db824c 100644 --- a/man3/lgamma.3 +++ b/man3/lgamma.3 @@ -41,7 +41,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || _XOPEN_SOURCE || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE -.br +.PP .BR lgammaf (), .BR lgammal (): .RS 4 @@ -49,6 +49,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE +.PP .BR lgamma_r (), .BR lgammaf_r (), .BR lgammal_r (): @@ -56,6 +57,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE +.PP .IR signgam : .RS 4 _XOPEN_SOURCE diff --git a/man3/log1p.3 b/man3/log1p.3 index b0b7f1b87..286192a8d 100644 --- a/man3/log1p.3 +++ b/man3/log1p.3 @@ -54,7 +54,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE -.br +.PP .BR log1pf (), .BR log1pl (): .RS 4 diff --git a/man3/logb.3 b/man3/logb.3 index 4981eae03..2d18c8785 100644 --- a/man3/logb.3 +++ b/man3/logb.3 @@ -54,7 +54,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE -.br +.PP .BR logbf (), .BR logbl (): .RS 4 diff --git a/man3/mkstemp.3 b/man3/mkstemp.3 index d9beaaa42..90dc0d8b0 100644 --- a/man3/mkstemp.3 +++ b/man3/mkstemp.3 @@ -67,11 +67,11 @@ _XOPEN_SOURCE\ >=\ 500 .PP .BR mkostemp (): _GNU_SOURCE -.br +.PP .BR mkstemps (): /* Glibc since 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE -.br +.PP .BR mkostemps (): _GNU_SOURCE .SH DESCRIPTION diff --git a/man3/nextafter.3 b/man3/nextafter.3 index eeb106070..0e3a2020f 100644 --- a/man3/nextafter.3 +++ b/man3/nextafter.3 @@ -43,7 +43,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE -.br +.PP .BR nextafterf (), .BR nextafterl (): .RS 4 @@ -51,7 +51,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE -.br +.PP .BR nexttoward (), .BR nexttowardf (), .BR nexttowardl (): diff --git a/man3/psignal.3 b/man3/psignal.3 index 8537ae5d6..3140d1b60 100644 --- a/man3/psignal.3 +++ b/man3/psignal.3 @@ -48,7 +48,7 @@ Feature Test Macro Requirements for glibc (see _DEFAULT_SOURCE Glibc 2.19 and earlier: _BSD_SOURCE || _SVID_SOURCE -.br +.PP .BR psiginfo (): _POSIX_C_SOURCE\ >=\ 200809L .SH DESCRIPTION diff --git a/man3/remainder.3 b/man3/remainder.3 index 60ba64c1f..2b62cc911 100644 --- a/man3/remainder.3 +++ b/man3/remainder.3 @@ -69,7 +69,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE -.br +.PP .BR remainderf (), .BR remainderl (): .RS 4 @@ -77,7 +77,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE -.br +.PP .BR drem (), .BR dremf (), .BR dreml (): diff --git a/man3/rint.3 b/man3/rint.3 index 06bc3b2bb..44a7c4bb6 100644 --- a/man3/rint.3 +++ b/man3/rint.3 @@ -55,7 +55,7 @@ Feature Test Macro Requirements for glibc (see .RS 4 _POSIX_C_SOURCE\ >=\ 200112L || _ISOC99_SOURCE .RE -.br +.PP .BR rint (): .RS 4 _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L @@ -64,7 +64,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE -.br +.PP .BR rintf (), .BR rintl (): .RS 4 diff --git a/man3/scalb.3 b/man3/scalb.3 index fc36f498e..1035974ac 100644 --- a/man3/scalb.3 +++ b/man3/scalb.3 @@ -52,7 +52,7 @@ _XOPEN_SOURCE\ >=\ 500 || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE -.br +.PP .BR scalbf (), .BR scalbl (): .RS 4 diff --git a/man3/scalbln.3 b/man3/scalbln.3 index 4716a12ef..fd64a5973 100644 --- a/man3/scalbln.3 +++ b/man3/scalbln.3 @@ -58,7 +58,7 @@ Feature Test Macro Requirements for glibc (see _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || /* Since glibc 2.19: */ _DEFAULT_SOURCE .RE -.br +.PP .BR scalbn (), .BR scalbnf (), .BR scalbnl (): diff --git a/man3/strsignal.3 b/man3/strsignal.3 index 15ae892db..940668e65 100644 --- a/man3/strsignal.3 +++ b/man3/strsignal.3 @@ -65,7 +65,7 @@ _POSIX_C_SOURCE\ >=\ 200809L Before glibc 2.10: _GNU_SOURCE .RE -.br +.PP .IR sys_siglist : Since glibc 2.19: _DEFAULT_SOURCE diff --git a/man3/tzset.3 b/man3/tzset.3 index 6b5011ed1..574e386aa 100644 --- a/man3/tzset.3 +++ b/man3/tzset.3 @@ -51,10 +51,10 @@ Feature Test Macro Requirements for glibc (see .PP .BR tzset (): _POSIX_C_SOURCE -.br +.PP .IR tzname : _POSIX_C_SOURCE -.br +.PP .IR timezone , .IR daylight : _XOPEN_SOURCE diff --git a/man3/y0.3 b/man3/y0.3 index 3ddc7f3ea..694246e91 100644 --- a/man3/y0.3 +++ b/man3/y0.3 @@ -70,7 +70,7 @@ _XOPEN_SOURCE || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE .RE -.br +.PP .BR y0f (), .BR y0l (), .BR y1f (),