brk.2, chmod.2, gethostname.2, setpgid.2, wait4.2, atoi.3, fwide.3, getlogin.3, printf.3, strtoul.3, wprintf.3: Consistency fix-up in FTMs

Generally, place '||' at start of a line, rather than the end of
the previous line.

Rationale: this placement clearly indicates that that each piece
is an alternative.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2021-01-05 10:21:48 +01:00
parent 16fe373c85
commit 58a6844d20
11 changed files with 23 additions and 23 deletions

View File

@ -46,17 +46,17 @@ Feature Test Macro Requirements for glibc (see
.BR sbrk ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE ||
(_XOPEN_SOURCE\ >=\ 500) &&
_DEFAULT_SOURCE
|| ((_XOPEN_SOURCE\ >=\ 500) &&
! (_POSIX_C_SOURCE\ >=\ 200112L))
.\" (_XOPEN_SOURCE\ >=\ 500 ||
.\" _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
! (_POSIX_C_SOURCE\ >=\ 200112L)
From glibc 2.12 to 2.19:
_BSD_SOURCE || _SVID_SOURCE ||
(_XOPEN_SOURCE\ >=\ 500) &&
_BSD_SOURCE || _SVID_SOURCE
|| ((_XOPEN_SOURCE\ >=\ 500) &&
! (_POSIX_C_SOURCE\ >=\ 200112L))
.\" (_XOPEN_SOURCE\ >=\ 500 ||
.\" _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
! (_POSIX_C_SOURCE\ >=\ 200112L)
Before glibc 2.12:
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED

View File

@ -61,8 +61,8 @@ Feature Test Macro Requirements for glibc (see
Glibc 2.16 to 2.19:
_BSD_SOURCE || _POSIX_C_SOURCE
Glibc 2.12 to 2.16:
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
_POSIX_C_SOURCE >= 200809L
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|| _POSIX_C_SOURCE >= 200809L
Glibc 2.11 and earlier:
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
.\" || (_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED)

View File

@ -47,8 +47,8 @@ Feature Test Macro Requirements for glibc (see
.PP
.BR gethostname ():
.nf
_XOPEN_SOURCE\ >=\ 500 || _POSIX_C_SOURCE\ >=\ 200112L ||
/* Glibc 2.19 and earlier */ _BSD_SOURCE
_XOPEN_SOURCE\ >=\ 500 || _POSIX_C_SOURCE\ >=\ 200112L
|| /* Glibc 2.19 and earlier */ _BSD_SOURCE
.\" The above is something of a simplification
.\" also in glibc before 2.3 there was a bit churn
.fi

View File

@ -88,8 +88,8 @@ Feature Test Macro Requirements for glibc (see
.nf
[These are available only before glibc 2.19]
_BSD_SOURCE &&
!\ (_POSIX_SOURCE || _POSIX_C_SOURCE || _XOPEN_SOURCE ||
_GNU_SOURCE || _SVID_SOURCE)
!\ (_POSIX_SOURCE || _POSIX_C_SOURCE || _XOPEN_SOURCE
|| _GNU_SOURCE || _SVID_SOURCE)
.fi
.SH DESCRIPTION
All of these interfaces are available on Linux,

View File

@ -53,9 +53,9 @@ Feature Test Macro Requirements for glibc (see
.BR wait3 ():
.nf
Since glibc 2.26:
_DEFAULT_SOURCE ||
(_XOPEN_SOURCE\ >=\ 500 &&
! (_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600))
_DEFAULT_SOURCE
|| (_XOPEN_SOURCE\ >=\ 500 &&
! (_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600))
From glibc 2.19 to 2.25:
_DEFAULT_SOURCE || _XOPEN_SOURCE\ >=\ 500
Glibc 2.19 and earlier:

View File

@ -49,7 +49,7 @@ Feature Test Macro Requirements for glibc (see
.PP
.BR atoll ():
.nf
_ISOC99_SOURCE ||
_ISOC99_SOURCE
|| /* Glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
.fi
.SH DESCRIPTION

View File

@ -30,8 +30,8 @@ Feature Test Macro Requirements for glibc (see
.PP
.BR fwide ():
.nf
_XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE ||
_POSIX_C_SOURCE\ >=\ 200112L
_XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE
|| _POSIX_C_SOURCE\ >=\ 200112L
.fi
.SH DESCRIPTION
When \fImode\fP is zero, the

View File

@ -53,7 +53,7 @@ _POSIX_C_SOURCE\ >=\ 199506L
.nf
Since glibc 2.24:
(_XOPEN_SOURCE && ! (_POSIX_C_SOURCE >= 200112L)
|| _GNU_SOURCE
|| _GNU_SOURCE
Up to and including glibc 2.23:
_XOPEN_SOURCE
.fi

View File

@ -63,7 +63,7 @@ Feature Test Macro Requirements for glibc (see
.BR snprintf (),
.BR vsnprintf ():
.nf
_XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE ||
_XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE
|| /* Glibc <= 2.19: */ _BSD_SOURCE
.fi
.PP

View File

@ -50,7 +50,7 @@ Feature Test Macro Requirements for glibc (see
.PP
.BR strtoull ():
.nf
_ISOC99_SOURCE ||
_ISOC99_SOURCE
|| /* Glibc <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE
.fi
.SH DESCRIPTION

View File

@ -46,8 +46,8 @@ All functions shown above:
.\" .BR vfwprintf (),
.\" .BR vswprintf ():
.nf
_XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE ||
_POSIX_C_SOURCE\ >=\ 200112L
_XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE
|| _POSIX_C_SOURCE\ >=\ 200112L
.fi
.SH DESCRIPTION
The