From 0129eef26ce3bbadad8dc24f0727fe7eeb0fa620 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 31 Dec 2020 10:27:24 +0100 Subject: [PATCH] chown.2, ffs.3, fpclassify.3, gamma.3, getgrent.3, ilogb.3, strdup.3: ffix Bring a bit more consistency to Feature Test Macro information (mainly .PP between differnt FTM lists). Signed-off-by: Michael Kerrisk --- man2/chown.2 | 4 +++- man3/ffs.3 | 1 + man3/fpclassify.3 | 2 ++ man3/gamma.3 | 1 + man3/getgrent.3 | 2 -- man3/ilogb.3 | 2 +- man3/strdup.3 | 4 ++-- 7 files changed, 10 insertions(+), 6 deletions(-) diff --git a/man2/chown.2 b/man2/chown.2 index c93169524..4877b376e 100644 --- a/man2/chown.2 +++ b/man2/chown.2 @@ -68,10 +68,11 @@ Feature Test Macro Requirements for glibc (see .\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || /* Glibc versions <= 2.19: */ _BSD_SOURCE .RE +.PD .PP .BR fchownat (): -.PD 0 .ad l +.PD 0 .RS 4 .TP 4 Since glibc 2.10: @@ -80,6 +81,7 @@ _POSIX_C_SOURCE\ >=\ 200809L Before glibc 2.10: _ATFILE_SOURCE .RE +.PD .ad .PD .SH DESCRIPTION diff --git a/man3/ffs.3 b/man3/ffs.3 index 1da275058..3126f889f 100644 --- a/man3/ffs.3 +++ b/man3/ffs.3 @@ -65,6 +65,7 @@ Since glibc 2.12: Before glibc 2.12: none .RE +.PD .PP .BR ffsl (), .BR ffsll (): diff --git a/man3/fpclassify.3 b/man3/fpclassify.3 index a32a6defb..7fac7efb3 100644 --- a/man3/fpclassify.3 +++ b/man3/fpclassify.3 @@ -42,6 +42,7 @@ Feature Test Macro Requirements for glibc (see .RS 4 _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L .RE +.PP .BR isnan (): .RS 4 _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L @@ -49,6 +50,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE +.PP .BR isinf (): .RS 4 _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L diff --git a/man3/gamma.3 b/man3/gamma.3 index 0f9c3649c..35e63d157 100644 --- a/man3/gamma.3 +++ b/man3/gamma.3 @@ -32,6 +32,7 @@ _XOPEN_SOURCE || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE +.PP .BR gammaf (), .BR gammal (): .RS 4 diff --git a/man3/getgrent.3 b/man3/getgrent.3 index 245e38885..632754758 100644 --- a/man3/getgrent.3 +++ b/man3/getgrent.3 @@ -47,7 +47,6 @@ Feature Test Macro Requirements for glibc (see .BR feature_test_macros (7)): .RE .PP -.PD 0 .ad l .BR setgrent (): .RS 4 @@ -71,7 +70,6 @@ Glibc 2.21 and earlier || /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE -.PD .ad b .SH DESCRIPTION The diff --git a/man3/ilogb.3 b/man3/ilogb.3 index a9169fe01..d2b6b0253 100644 --- a/man3/ilogb.3 +++ b/man3/ilogb.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 ilogbf (), .BR ilogbl (): .RS 4 diff --git a/man3/strdup.3 b/man3/strdup.3 index f9a34ed91..8742e78a4 100644 --- a/man3/strdup.3 +++ b/man3/strdup.3 @@ -47,7 +47,6 @@ Feature Test Macro Requirements for glibc (see .BR feature_test_macros (7)): .RE .PP -.PD 0 .ad l .BR strdup (): .RS 4 @@ -58,6 +57,7 @@ _XOPEN_SOURCE\ >=\ 500 .RE .PP .BR strndup (): +.PD 0 .RS 4 .TP 4 Since glibc 2.10: @@ -66,12 +66,12 @@ _POSIX_C_SOURCE\ >=\ 200809L Before glibc 2.10: _GNU_SOURCE .RE +.PD .PP .BR strdupa (), .BR strndupa (): _GNU_SOURCE .ad -.PD .SH DESCRIPTION The .BR strdup ()