aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2021-01-05 13:21:30 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-01-05 13:22:01 +0100
commit1dd0d7b4e4c99235f5e9a7aa8b9eb8aff266de0c (patch)
tree2fe3c1070373f275249a0586421a1516b82de812
parentba2c475246282a40ec1501edab13313748ed9769 (diff)
downloadman-pages-1dd0d7b4e4c99235f5e9a7aa8b9eb8aff266de0c.tar.gz
Various pages: ffix: More layout consistency fixes for FTMs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/futimesat.24
-rw-r--r--man2/getrlimit.24
-rw-r--r--man2/nanosleep.24
-rw-r--r--man2/select.24
-rw-r--r--man2/semop.24
-rw-r--r--man2/sigwaitinfo.24
-rw-r--r--man2/timer_create.24
-rw-r--r--man2/timer_delete.24
-rw-r--r--man2/timer_getoverrun.24
-rw-r--r--man2/timer_settime.24
-rw-r--r--man3/confstr.32
-rw-r--r--man3/ctermid.32
-rw-r--r--man3/exec.34
-rw-r--r--man3/ferror.34
-rw-r--r--man3/fopen.34
-rw-r--r--man3/ftw.34
-rw-r--r--man3/getenv.34
-rw-r--r--man3/getgrent_r.34
-rw-r--r--man3/getlogin.34
-rw-r--r--man3/group_member.34
-rw-r--r--man3/memchr.34
-rw-r--r--man3/psignal.36
-rw-r--r--man3/pthread_sigqueue.34
-rw-r--r--man3/sem_wait.34
-rw-r--r--man3/setjmp.34
-rw-r--r--man3/sigqueue.34
-rw-r--r--man3/tzset.38
-rw-r--r--man3/wordexp.34
28 files changed, 84 insertions, 30 deletions
diff --git a/man2/futimesat.2 b/man2/futimesat.2
index 7b8144c5fe..6ac9a92003 100644
--- a/man2/futimesat.2
+++ b/man2/futimesat.2
@@ -41,7 +41,9 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR futimesat ():
-_GNU_SOURCE
+.nf
+ _GNU_SOURCE
+.fi
.SH DESCRIPTION
This system call is obsolete.
Use
diff --git a/man2/getrlimit.2 b/man2/getrlimit.2
index 417532ea05..c58c81129b 100644
--- a/man2/getrlimit.2
+++ b/man2/getrlimit.2
@@ -82,7 +82,9 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR prlimit ():
-_GNU_SOURCE
+.nf
+ _GNU_SOURCE
+.fi
.SH DESCRIPTION
The
.BR getrlimit ()
diff --git a/man2/nanosleep.2 b/man2/nanosleep.2
index 248cfb1578..6d62a6d45f 100644
--- a/man2/nanosleep.2
+++ b/man2/nanosleep.2
@@ -47,7 +47,9 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR nanosleep ():
-_POSIX_C_SOURCE\ >=\ 199309L
+.nf
+ _POSIX_C_SOURCE\ >=\ 199309L
+.fi
.SH DESCRIPTION
.BR nanosleep ()
suspends the execution of the calling thread
diff --git a/man2/select.2 b/man2/select.2
index 65ddf5c41d..68e5a6b59d 100644
--- a/man2/select.2
+++ b/man2/select.2
@@ -64,7 +64,9 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR pselect ():
-_POSIX_C_SOURCE\ >=\ 200112L
+.nf
+ _POSIX_C_SOURCE\ >=\ 200112L
+.fi
.SH DESCRIPTION
.BR select ()
allows a program to monitor multiple file descriptors,
diff --git a/man2/semop.2 b/man2/semop.2
index 99de83b684..77db49f82c 100644
--- a/man2/semop.2
+++ b/man2/semop.2
@@ -52,7 +52,9 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR semtimedop ():
-_GNU_SOURCE
+.nf
+ _GNU_SOURCE
+.fi
.SH DESCRIPTION
Each semaphore in a System\ V semaphore set
has the following associated values:
diff --git a/man2/sigwaitinfo.2 b/man2/sigwaitinfo.2
index 87eaf39aaf..a3fd0a556e 100644
--- a/man2/sigwaitinfo.2
+++ b/man2/sigwaitinfo.2
@@ -42,7 +42,9 @@ Feature Test Macro Requirements for glibc (see
.PP
.BR sigwaitinfo (),
.BR sigtimedwait ():
-_POSIX_C_SOURCE\ >=\ 199309L
+.nf
+ _POSIX_C_SOURCE\ >=\ 199309L
+.fi
.SH DESCRIPTION
.BR sigwaitinfo ()
suspends execution of the calling thread until one of the signals in
diff --git a/man2/timer_create.2 b/man2/timer_create.2
index 2184793cd9..abd561c0e5 100644
--- a/man2/timer_create.2
+++ b/man2/timer_create.2
@@ -43,7 +43,9 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR timer_create ():
-_POSIX_C_SOURCE\ >=\ 199309L
+.nf
+ _POSIX_C_SOURCE\ >=\ 199309L
+.fi
.SH DESCRIPTION
.BR timer_create ()
creates a new per-process interval timer.
diff --git a/man2/timer_delete.2 b/man2/timer_delete.2
index deb1cd900a..1d2420da69 100644
--- a/man2/timer_delete.2
+++ b/man2/timer_delete.2
@@ -41,7 +41,9 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR timer_delete ():
-_POSIX_C_SOURCE\ >=\ 199309L
+.nf
+ _POSIX_C_SOURCE\ >=\ 199309L
+.fi
.SH DESCRIPTION
.BR timer_delete ()
deletes the timer whose ID is given in
diff --git a/man2/timer_getoverrun.2 b/man2/timer_getoverrun.2
index 09a83ea178..48d8b9fab5 100644
--- a/man2/timer_getoverrun.2
+++ b/man2/timer_getoverrun.2
@@ -41,7 +41,9 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR timer_getoverrun ():
-_POSIX_C_SOURCE\ >=\ 199309L
+.nf
+ _POSIX_C_SOURCE\ >=\ 199309L
+.fi
.SH DESCRIPTION
.BR timer_getoverrun ()
returns the "overrun count" for the timer referred to by
diff --git a/man2/timer_settime.2 b/man2/timer_settime.2
index b7c20c04be..19b850920e 100644
--- a/man2/timer_settime.2
+++ b/man2/timer_settime.2
@@ -46,7 +46,9 @@ Feature Test Macro Requirements for glibc (see
.PP
.BR timer_settime (),
.BR timer_gettime ():
-_POSIX_C_SOURCE\ >=\ 199309L
+.nf
+ _POSIX_C_SOURCE\ >=\ 199309L
+.fi
.SH DESCRIPTION
.BR timer_settime ()
arms or disarms the timer identified by
diff --git a/man3/confstr.3 b/man3/confstr.3
index 96fb698057..73da5f0674 100644
--- a/man3/confstr.3
+++ b/man3/confstr.3
@@ -46,7 +46,7 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR confstr ():
-_POSIX_C_SOURCE\ >=\ 2 || _XOPEN_SOURCE
+ _POSIX_C_SOURCE\ >=\ 2 || _XOPEN_SOURCE
.SH DESCRIPTION
.BR confstr ()
gets the value of configuration-dependent string variables.
diff --git a/man3/ctermid.3 b/man3/ctermid.3
index f928aa31e2..b0f51df8ed 100644
--- a/man3/ctermid.3
+++ b/man3/ctermid.3
@@ -41,7 +41,7 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR ctermid ():
-_POSIX_C_SOURCE
+ _POSIX_C_SOURCE
.SH DESCRIPTION
.BR ctermid ()
returns a string which is the pathname for the current
diff --git a/man3/exec.3 b/man3/exec.3
index d7c843a37a..d9dd99f1e2 100644
--- a/man3/exec.3
+++ b/man3/exec.3
@@ -65,7 +65,9 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR execvpe ():
-_GNU_SOURCE
+.nf
+ _GNU_SOURCE
+.fi
.SH DESCRIPTION
The
.BR exec ()
diff --git a/man3/ferror.3 b/man3/ferror.3
index 5c59fc97d8..d28afd036a 100644
--- a/man3/ferror.3
+++ b/man3/ferror.3
@@ -60,7 +60,9 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR fileno ():
-_POSIX_C_SOURCE
+.nf
+ _POSIX_C_SOURCE
+.fi
.SH DESCRIPTION
The function
.BR clearerr ()
diff --git a/man3/fopen.3 b/man3/fopen.3
index bbb4fbc397..2af5ca797d 100644
--- a/man3/fopen.3
+++ b/man3/fopen.3
@@ -59,7 +59,9 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR fdopen ():
-_POSIX_C_SOURCE
+.nf
+ _POSIX_C_SOURCE
+.fi
.SH DESCRIPTION
The
.BR fopen ()
diff --git a/man3/ftw.3 b/man3/ftw.3
index 8f871c007f..8c5bc0279d 100644
--- a/man3/ftw.3
+++ b/man3/ftw.3
@@ -59,7 +59,9 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR nftw ():
-_XOPEN_SOURCE >= 500
+.nf
+ _XOPEN_SOURCE >= 500
+.fi
.SH DESCRIPTION
.BR nftw ()
walks through the directory tree that is
diff --git a/man3/getenv.3 b/man3/getenv.3
index 665278bdfb..04e55406dc 100644
--- a/man3/getenv.3
+++ b/man3/getenv.3
@@ -47,7 +47,9 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR secure_getenv ():
-_GNU_SOURCE
+.nf
+ _GNU_SOURCE
+.fi
.SH DESCRIPTION
The
.BR getenv ()
diff --git a/man3/getgrent_r.3 b/man3/getgrent_r.3
index 22c8e52666..fc81790095 100644
--- a/man3/getgrent_r.3
+++ b/man3/getgrent_r.3
@@ -40,7 +40,9 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR getgrent_r ():
-_GNU_SOURCE
+.nf
+ _GNU_SOURCE
+.fi
.\" FIXME . The FTM requirements seem inconsistent here. File a glibc bug?
.PP
.BR fgetgrent_r ():
diff --git a/man3/getlogin.3 b/man3/getlogin.3
index 714e56f753..14cc89d181 100644
--- a/man3/getlogin.3
+++ b/man3/getlogin.3
@@ -46,8 +46,10 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR getlogin_r ():
+.nf
.\" Deprecated: _REENTRANT ||
-_POSIX_C_SOURCE\ >=\ 199506L
+ _POSIX_C_SOURCE\ >=\ 199506L
+.fi
.PP
.BR cuserid ():
.nf
diff --git a/man3/group_member.3 b/man3/group_member.3
index 6647eef34f..b003231676 100644
--- a/man3/group_member.3
+++ b/man3/group_member.3
@@ -38,7 +38,9 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR group_member ():
-_GNU_SOURCE
+.nf
+ _GNU_SOURCE
+.fi
.SH DESCRIPTION
The
.BR group_member ()
diff --git a/man3/memchr.3 b/man3/memchr.3
index d9437ceb29..c696d02e02 100644
--- a/man3/memchr.3
+++ b/man3/memchr.3
@@ -48,7 +48,9 @@ Feature Test Macro Requirements for glibc (see
.PP
.BR memrchr (),
.BR rawmemchr ():
-_GNU_SOURCE
+.nf
+ _GNU_SOURCE
+.fi
.SH DESCRIPTION
The
.BR memchr ()
diff --git a/man3/psignal.3 b/man3/psignal.3
index 3140d1b600..0aef5fa80b 100644
--- a/man3/psignal.3
+++ b/man3/psignal.3
@@ -45,12 +45,14 @@ Feature Test Macro Requirements for glibc (see
.PP
.BR psignal ():
Since glibc 2.19:
- _DEFAULT_SOURCE
+ _DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE || _SVID_SOURCE
.PP
.BR psiginfo ():
-_POSIX_C_SOURCE\ >=\ 200809L
+.nf
+ _POSIX_C_SOURCE\ >=\ 200809L
+.fi
.SH DESCRIPTION
The
.BR psignal ()
diff --git a/man3/pthread_sigqueue.3 b/man3/pthread_sigqueue.3
index 46eb2bddb7..a71be39ff3 100644
--- a/man3/pthread_sigqueue.3
+++ b/man3/pthread_sigqueue.3
@@ -42,7 +42,9 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR pthread_sigqueue ():
-_GNU_SOURCE
+.nf
+ _GNU_SOURCE
+.fi
.SH DESCRIPTION
The
.BR pthread_sigqueue ()
diff --git a/man3/sem_wait.3 b/man3/sem_wait.3
index a098729f62..fa970b4981 100644
--- a/man3/sem_wait.3
+++ b/man3/sem_wait.3
@@ -42,7 +42,9 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR sem_timedwait ():
-_POSIX_C_SOURCE\ >=\ 200112L
+.nf
+ _POSIX_C_SOURCE\ >=\ 200112L
+.fi
.SH DESCRIPTION
.BR sem_wait ()
decrements (locks) the semaphore pointed to by
diff --git a/man3/setjmp.3 b/man3/setjmp.3
index 1621ba4e41..50bbcc679c 100644
--- a/man3/setjmp.3
+++ b/man3/setjmp.3
@@ -44,7 +44,9 @@ Feature Test Macro Requirements for glibc (see
see NOTES.
.PP
.BR sigsetjmp ():
-_POSIX_C_SOURCE
+.nf
+ _POSIX_C_SOURCE
+.fi
.SH DESCRIPTION
The functions described on this page are used for performing "nonlocal gotos":
transferring execution from one function to a predetermined location
diff --git a/man3/sigqueue.3 b/man3/sigqueue.3
index 34028bae90..3f955fa9c8 100644
--- a/man3/sigqueue.3
+++ b/man3/sigqueue.3
@@ -41,7 +41,9 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR sigqueue ():
-_POSIX_C_SOURCE\ >=\ 199309L
+.nf
+ _POSIX_C_SOURCE\ >=\ 199309L
+.fi
.SH DESCRIPTION
.BR sigqueue ()
sends the signal specified in
diff --git a/man3/tzset.3 b/man3/tzset.3
index 3fe8289d10..afaa912552 100644
--- a/man3/tzset.3
+++ b/man3/tzset.3
@@ -50,10 +50,14 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR tzset ():
-_POSIX_C_SOURCE
+.nf
+ _POSIX_C_SOURCE
+.fi
.PP
.IR tzname :
-_POSIX_C_SOURCE
+.nf
+ _POSIX_C_SOURCE
+.fi
.PP
.IR timezone ,
.IR daylight :
diff --git a/man3/wordexp.3 b/man3/wordexp.3
index 119fe10fb0..7a8664785c 100644
--- a/man3/wordexp.3
+++ b/man3/wordexp.3
@@ -39,7 +39,9 @@ Feature Test Macro Requirements for glibc (see
.PP
.BR wordexp (),
.BR wordfree ():
-_XOPEN_SOURCE
+.nf
+ _XOPEN_SOURCE
+.fi
.SH DESCRIPTION
The function
.BR wordexp ()