Various pages: ffix: More layout consistency fixes for FTMs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2021-01-05 13:21:30 +01:00
parent ba2c475246
commit 1dd0d7b4e4
28 changed files with 84 additions and 30 deletions

View File

@ -41,7 +41,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR futimesat (): .BR futimesat ():
_GNU_SOURCE .nf
_GNU_SOURCE
.fi
.SH DESCRIPTION .SH DESCRIPTION
This system call is obsolete. This system call is obsolete.
Use Use

View File

@ -82,7 +82,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR prlimit (): .BR prlimit ():
_GNU_SOURCE .nf
_GNU_SOURCE
.fi
.SH DESCRIPTION .SH DESCRIPTION
The The
.BR getrlimit () .BR getrlimit ()

View File

@ -47,7 +47,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR nanosleep (): .BR nanosleep ():
_POSIX_C_SOURCE\ >=\ 199309L .nf
_POSIX_C_SOURCE\ >=\ 199309L
.fi
.SH DESCRIPTION .SH DESCRIPTION
.BR nanosleep () .BR nanosleep ()
suspends the execution of the calling thread suspends the execution of the calling thread

View File

@ -64,7 +64,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR pselect (): .BR pselect ():
_POSIX_C_SOURCE\ >=\ 200112L .nf
_POSIX_C_SOURCE\ >=\ 200112L
.fi
.SH DESCRIPTION .SH DESCRIPTION
.BR select () .BR select ()
allows a program to monitor multiple file descriptors, allows a program to monitor multiple file descriptors,

View File

@ -52,7 +52,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR semtimedop (): .BR semtimedop ():
_GNU_SOURCE .nf
_GNU_SOURCE
.fi
.SH DESCRIPTION .SH DESCRIPTION
Each semaphore in a System\ V semaphore set Each semaphore in a System\ V semaphore set
has the following associated values: has the following associated values:

View File

@ -42,7 +42,9 @@ Feature Test Macro Requirements for glibc (see
.PP .PP
.BR sigwaitinfo (), .BR sigwaitinfo (),
.BR sigtimedwait (): .BR sigtimedwait ():
_POSIX_C_SOURCE\ >=\ 199309L .nf
_POSIX_C_SOURCE\ >=\ 199309L
.fi
.SH DESCRIPTION .SH DESCRIPTION
.BR sigwaitinfo () .BR sigwaitinfo ()
suspends execution of the calling thread until one of the signals in suspends execution of the calling thread until one of the signals in

View File

@ -43,7 +43,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR timer_create (): .BR timer_create ():
_POSIX_C_SOURCE\ >=\ 199309L .nf
_POSIX_C_SOURCE\ >=\ 199309L
.fi
.SH DESCRIPTION .SH DESCRIPTION
.BR timer_create () .BR timer_create ()
creates a new per-process interval timer. creates a new per-process interval timer.

View File

@ -41,7 +41,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR timer_delete (): .BR timer_delete ():
_POSIX_C_SOURCE\ >=\ 199309L .nf
_POSIX_C_SOURCE\ >=\ 199309L
.fi
.SH DESCRIPTION .SH DESCRIPTION
.BR timer_delete () .BR timer_delete ()
deletes the timer whose ID is given in deletes the timer whose ID is given in

View File

@ -41,7 +41,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR timer_getoverrun (): .BR timer_getoverrun ():
_POSIX_C_SOURCE\ >=\ 199309L .nf
_POSIX_C_SOURCE\ >=\ 199309L
.fi
.SH DESCRIPTION .SH DESCRIPTION
.BR timer_getoverrun () .BR timer_getoverrun ()
returns the "overrun count" for the timer referred to by returns the "overrun count" for the timer referred to by

View File

@ -46,7 +46,9 @@ Feature Test Macro Requirements for glibc (see
.PP .PP
.BR timer_settime (), .BR timer_settime (),
.BR timer_gettime (): .BR timer_gettime ():
_POSIX_C_SOURCE\ >=\ 199309L .nf
_POSIX_C_SOURCE\ >=\ 199309L
.fi
.SH DESCRIPTION .SH DESCRIPTION
.BR timer_settime () .BR timer_settime ()
arms or disarms the timer identified by arms or disarms the timer identified by

View File

@ -46,7 +46,7 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR confstr (): .BR confstr ():
_POSIX_C_SOURCE\ >=\ 2 || _XOPEN_SOURCE _POSIX_C_SOURCE\ >=\ 2 || _XOPEN_SOURCE
.SH DESCRIPTION .SH DESCRIPTION
.BR confstr () .BR confstr ()
gets the value of configuration-dependent string variables. gets the value of configuration-dependent string variables.

View File

@ -41,7 +41,7 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR ctermid (): .BR ctermid ():
_POSIX_C_SOURCE _POSIX_C_SOURCE
.SH DESCRIPTION .SH DESCRIPTION
.BR ctermid () .BR ctermid ()
returns a string which is the pathname for the current returns a string which is the pathname for the current

View File

@ -65,7 +65,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR execvpe (): .BR execvpe ():
_GNU_SOURCE .nf
_GNU_SOURCE
.fi
.SH DESCRIPTION .SH DESCRIPTION
The The
.BR exec () .BR exec ()

View File

@ -60,7 +60,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR fileno (): .BR fileno ():
_POSIX_C_SOURCE .nf
_POSIX_C_SOURCE
.fi
.SH DESCRIPTION .SH DESCRIPTION
The function The function
.BR clearerr () .BR clearerr ()

View File

@ -59,7 +59,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR fdopen (): .BR fdopen ():
_POSIX_C_SOURCE .nf
_POSIX_C_SOURCE
.fi
.SH DESCRIPTION .SH DESCRIPTION
The The
.BR fopen () .BR fopen ()

View File

@ -59,7 +59,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR nftw (): .BR nftw ():
_XOPEN_SOURCE >= 500 .nf
_XOPEN_SOURCE >= 500
.fi
.SH DESCRIPTION .SH DESCRIPTION
.BR nftw () .BR nftw ()
walks through the directory tree that is walks through the directory tree that is

View File

@ -47,7 +47,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR secure_getenv (): .BR secure_getenv ():
_GNU_SOURCE .nf
_GNU_SOURCE
.fi
.SH DESCRIPTION .SH DESCRIPTION
The The
.BR getenv () .BR getenv ()

View File

@ -40,7 +40,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR getgrent_r (): .BR getgrent_r ():
_GNU_SOURCE .nf
_GNU_SOURCE
.fi
.\" FIXME . The FTM requirements seem inconsistent here. File a glibc bug? .\" FIXME . The FTM requirements seem inconsistent here. File a glibc bug?
.PP .PP
.BR fgetgrent_r (): .BR fgetgrent_r ():

View File

@ -46,8 +46,10 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR getlogin_r (): .BR getlogin_r ():
.nf
.\" Deprecated: _REENTRANT || .\" Deprecated: _REENTRANT ||
_POSIX_C_SOURCE\ >=\ 199506L _POSIX_C_SOURCE\ >=\ 199506L
.fi
.PP .PP
.BR cuserid (): .BR cuserid ():
.nf .nf

View File

@ -38,7 +38,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR group_member (): .BR group_member ():
_GNU_SOURCE .nf
_GNU_SOURCE
.fi
.SH DESCRIPTION .SH DESCRIPTION
The The
.BR group_member () .BR group_member ()

View File

@ -48,7 +48,9 @@ Feature Test Macro Requirements for glibc (see
.PP .PP
.BR memrchr (), .BR memrchr (),
.BR rawmemchr (): .BR rawmemchr ():
_GNU_SOURCE .nf
_GNU_SOURCE
.fi
.SH DESCRIPTION .SH DESCRIPTION
The The
.BR memchr () .BR memchr ()

View File

@ -45,12 +45,14 @@ Feature Test Macro Requirements for glibc (see
.PP .PP
.BR psignal (): .BR psignal ():
Since glibc 2.19: Since glibc 2.19:
_DEFAULT_SOURCE _DEFAULT_SOURCE
Glibc 2.19 and earlier: Glibc 2.19 and earlier:
_BSD_SOURCE || _SVID_SOURCE _BSD_SOURCE || _SVID_SOURCE
.PP .PP
.BR psiginfo (): .BR psiginfo ():
_POSIX_C_SOURCE\ >=\ 200809L .nf
_POSIX_C_SOURCE\ >=\ 200809L
.fi
.SH DESCRIPTION .SH DESCRIPTION
The The
.BR psignal () .BR psignal ()

View File

@ -42,7 +42,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR pthread_sigqueue (): .BR pthread_sigqueue ():
_GNU_SOURCE .nf
_GNU_SOURCE
.fi
.SH DESCRIPTION .SH DESCRIPTION
The The
.BR pthread_sigqueue () .BR pthread_sigqueue ()

View File

@ -42,7 +42,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR sem_timedwait (): .BR sem_timedwait ():
_POSIX_C_SOURCE\ >=\ 200112L .nf
_POSIX_C_SOURCE\ >=\ 200112L
.fi
.SH DESCRIPTION .SH DESCRIPTION
.BR sem_wait () .BR sem_wait ()
decrements (locks) the semaphore pointed to by decrements (locks) the semaphore pointed to by

View File

@ -44,7 +44,9 @@ Feature Test Macro Requirements for glibc (see
see NOTES. see NOTES.
.PP .PP
.BR sigsetjmp (): .BR sigsetjmp ():
_POSIX_C_SOURCE .nf
_POSIX_C_SOURCE
.fi
.SH DESCRIPTION .SH DESCRIPTION
The functions described on this page are used for performing "nonlocal gotos": The functions described on this page are used for performing "nonlocal gotos":
transferring execution from one function to a predetermined location transferring execution from one function to a predetermined location

View File

@ -41,7 +41,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR sigqueue (): .BR sigqueue ():
_POSIX_C_SOURCE\ >=\ 199309L .nf
_POSIX_C_SOURCE\ >=\ 199309L
.fi
.SH DESCRIPTION .SH DESCRIPTION
.BR sigqueue () .BR sigqueue ()
sends the signal specified in sends the signal specified in

View File

@ -50,10 +50,14 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR tzset (): .BR tzset ():
_POSIX_C_SOURCE .nf
_POSIX_C_SOURCE
.fi
.PP .PP
.IR tzname : .IR tzname :
_POSIX_C_SOURCE .nf
_POSIX_C_SOURCE
.fi
.PP .PP
.IR timezone , .IR timezone ,
.IR daylight : .IR daylight :

View File

@ -39,7 +39,9 @@ Feature Test Macro Requirements for glibc (see
.PP .PP
.BR wordexp (), .BR wordexp (),
.BR wordfree (): .BR wordfree ():
_XOPEN_SOURCE .nf
_XOPEN_SOURCE
.fi
.SH DESCRIPTION .SH DESCRIPTION
The function The function
.BR wordexp () .BR wordexp ()