mirror of https://github.com/mkerrisk/man-pages
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>
This commit is contained in:
parent
c418bc9d16
commit
255d42333e
|
@ -46,21 +46,14 @@ Feature Test Macro Requirements for glibc (see
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
.BR chroot ():
|
.BR chroot ():
|
||||||
.ad l
|
|
||||||
.RS 4
|
|
||||||
.PD 0
|
|
||||||
.TP 4
|
|
||||||
Since glibc 2.2.2:
|
|
||||||
.nf
|
.nf
|
||||||
_XOPEN_SOURCE && ! (_POSIX_C_SOURCE\ >=\ 200112L)
|
Since glibc 2.2.2:
|
||||||
|| /* Since glibc 2.20: */ _DEFAULT_SOURCE
|
_XOPEN_SOURCE && ! (_POSIX_C_SOURCE\ >=\ 200112L)
|
||||||
|| /* Glibc <= 2.19: */ _BSD_SOURCE
|
|| /* Since glibc 2.20: */ _DEFAULT_SOURCE
|
||||||
.fi
|
|| /* Glibc <= 2.19: */ _BSD_SOURCE
|
||||||
.TP 4
|
Before glibc 2.2.2:
|
||||||
Before glibc 2.2.2: none
|
none
|
||||||
.PD
|
.nf
|
||||||
.RE
|
|
||||||
.ad b
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR chroot ()
|
.BR chroot ()
|
||||||
changes the root directory of the calling process to that specified in
|
changes the root directory of the calling process to that specified in
|
||||||
|
|
|
@ -54,25 +54,16 @@ Feature Test Macro Requirements for glibc (see
|
||||||
.BR feature_test_macros (7)):
|
.BR feature_test_macros (7)):
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
|
.nf
|
||||||
.BR renameat ():
|
.BR renameat ():
|
||||||
.PD 0
|
Since glibc 2.10:
|
||||||
.ad l
|
_POSIX_C_SOURCE\ >=\ 200809L
|
||||||
.RS 4
|
Before glibc 2.10:
|
||||||
.TP 4
|
_ATFILE_SOURCE
|
||||||
Since glibc 2.10:
|
|
||||||
_POSIX_C_SOURCE\ >=\ 200809L
|
|
||||||
.TP
|
|
||||||
Before glibc 2.10:
|
|
||||||
_ATFILE_SOURCE
|
|
||||||
.RE
|
|
||||||
.PD
|
|
||||||
.PP
|
.PP
|
||||||
.BR renameat2 ():
|
.BR renameat2 ():
|
||||||
.RS 4
|
_GNU_SOURCE
|
||||||
.TP
|
.fi
|
||||||
_GNU_SOURCE
|
|
||||||
.RE
|
|
||||||
.ad
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR rename ()
|
.BR rename ()
|
||||||
renames a file, moving it between directories if required.
|
renames a file, moving it between directories if required.
|
||||||
|
|
|
@ -59,9 +59,8 @@ _XOPEN_SOURCE\ >=\ 500
|
||||||
.BR endgrent ():
|
.BR endgrent ():
|
||||||
.RS 4
|
.RS 4
|
||||||
Since glibc 2.22:
|
Since glibc 2.22:
|
||||||
_XOPEN_SOURCE\ >=\ 500 ||
|
_XOPEN_SOURCE\ >=\ 500 || _DEFAULT_SOURCE
|
||||||
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
|
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
|
||||||
_DEFAULT_SOURCE
|
|
||||||
.br
|
.br
|
||||||
Glibc 2.21 and earlier
|
Glibc 2.21 and earlier
|
||||||
_XOPEN_SOURCE\ >=\ 500
|
_XOPEN_SOURCE\ >=\ 500
|
||||||
|
|
|
@ -54,8 +54,8 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
|
||||||
.BR nexttowardf (),
|
.BR nexttowardf (),
|
||||||
.BR nexttowardl ():
|
.BR nexttowardl ():
|
||||||
.RS 4
|
.RS 4
|
||||||
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
|
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE
|
||||||
_POSIX_C_SOURCE\ >=\ 200112L
|
|| _POSIX_C_SOURCE\ >=\ 200112L
|
||||||
.RE
|
.RE
|
||||||
.ad b
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -47,12 +47,10 @@ Since glibc 2.24:
|
||||||
_DEFAULT_SOURCE
|
_DEFAULT_SOURCE
|
||||||
.br
|
.br
|
||||||
From glibc 2.20 to 2.23:
|
From glibc 2.20 to 2.23:
|
||||||
_DEFAULT_SOURCE ||
|
_DEFAULT_SOURCE || (_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE\ <\ 500)
|
||||||
_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE\ <\ 500
|
|
||||||
.br
|
.br
|
||||||
Glibc 2.19 and earlier:
|
Glibc 2.19 and earlier:
|
||||||
_BSD_SOURCE ||
|
_BSD_SOURCE || (_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE\ <\ 500)
|
||||||
_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE\ <\ 500
|
|
||||||
.RE
|
.RE
|
||||||
.ad b
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -38,20 +38,17 @@ Feature Test Macro Requirements for glibc (see
|
||||||
.BR feature_test_macros (7)):
|
.BR feature_test_macros (7)):
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
.ad l
|
|
||||||
All functions shown above:
|
All functions shown above:
|
||||||
.RS 4
|
|
||||||
.\" .BR wprintf (),
|
.\" .BR wprintf (),
|
||||||
.\" .BR fwprintf (),
|
.\" .BR fwprintf (),
|
||||||
.\" .BR swprintf (),
|
.\" .BR swprintf (),
|
||||||
.\" .BR vwprintf (),
|
.\" .BR vwprintf (),
|
||||||
.\" .BR vfwprintf (),
|
.\" .BR vfwprintf (),
|
||||||
.\" .BR vswprintf ():
|
.\" .BR vswprintf ():
|
||||||
_XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE ||
|
.nf
|
||||||
.br
|
_XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE ||
|
||||||
_POSIX_C_SOURCE\ >=\ 200112L
|
_POSIX_C_SOURCE\ >=\ 200112L
|
||||||
.RE
|
.fi
|
||||||
.ad
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR wprintf ()
|
.BR wprintf ()
|
||||||
|
|
Loading…
Reference in New Issue