Various pages: add missing .nf/.fi in FTM info

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2021-01-06 13:41:12 +01:00
parent 422d5327a8
commit 9d281e06da
35 changed files with 75 additions and 3 deletions

View File

@ -50,10 +50,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR setgroups ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE
.fi
.SH DESCRIPTION
.BR getgroups ()
returns the supplementary group IDs of the calling process in

View File

@ -55,10 +55,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR settimeofday ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE
.fi
.SH DESCRIPTION
The functions
.BR gettimeofday ()

View File

@ -48,10 +48,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR mincore ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE || _SVID_SOURCE
.fi
.SH DESCRIPTION
.BR mincore ()
returns a vector that indicates whether pages

View File

@ -57,10 +57,12 @@ Feature Test Macro Requirements for glibc (see
.PP
.BR preadv (),
.BR pwritev ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE
.fi
.SH DESCRIPTION
The
.BR readv ()

View File

@ -43,10 +43,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR stime ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_SVID_SOURCE
.fi
.SH DESCRIPTION
.BR NOTE :
This function is deprecated;

View File

@ -23,10 +23,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR addseverity ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_SVID_SOURCE
.fi
.SH DESCRIPTION
This function allows the introduction of new severity classes
which can be addressed by the

View File

@ -38,10 +38,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR adjtime ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE
.fi
.SH DESCRIPTION
The
.BR adjtime ()

View File

@ -48,10 +48,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR cfree ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE || _SVID_SOURCE
.fi
.SH DESCRIPTION
This function should never be used.
Use

View File

@ -39,8 +39,10 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR clearenv ():
.nf
/* Glibc since 2.19: */ _DEFAULT_SOURCE
|| /* Glibc <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE
.fi
.SH DESCRIPTION
The
.BR clearenv ()

View File

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

View File

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

View File

@ -39,10 +39,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR dysize ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE || _SVID_SOURCE
.fi
.SH DESCRIPTION
The function returns 365 for a normal year and 366 for a leap year.
The calculation for leap year is based on:

View File

@ -45,10 +45,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR fgetgrent ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_SVID_SOURCE
.fi
.SH DESCRIPTION
The
.BR fgetgrent ()

View File

@ -48,10 +48,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR fgetpwent ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_SVID_SOURCE
.fi
.SH DESCRIPTION
The
.BR fgetpwent ()

View File

@ -40,10 +40,12 @@ Feature Test Macro Requirements for glibc (see
.PP
.BR futimes (),
.BR lutimes ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE
.fi
.SH DESCRIPTION
.BR futimes ()
changes the access and modification times of a file in the same way as

View File

@ -41,10 +41,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR getdirentries ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE || _SVID_SOURCE
.fi
.SH DESCRIPTION
Read directory entries from the directory specified by
.I fd

View File

@ -43,10 +43,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR getgrouplist ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE
.fi
.SH DESCRIPTION
The
.BR getgrouplist ()

View File

@ -61,10 +61,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR getmntent_r ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE || _SVID_SOURCE
.fi
.SH DESCRIPTION
These routines are used to access the filesystem description file
.I /etc/fstab

View File

@ -40,16 +40,20 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR getpwent_r (),
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE || _SVID_SOURCE
.fi
.PP
.BR fgetpwent_r ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_SVID_SOURCE
.fi
.SH DESCRIPTION
The functions
.BR getpwent_r ()

View File

@ -45,10 +45,12 @@ Feature Test Macro Requirements for glibc (see
.PP
.BR gsignal (),
.BR ssignal ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_SVID_SOURCE
.fi
.SH DESCRIPTION
Don't use these functions under Linux.
Due to a historical mistake, under Linux these functions are

View File

@ -46,10 +46,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR initgroups ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE
.fi
.SH DESCRIPTION
The
.BR initgroups ()

View File

@ -44,10 +44,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR on_exit ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE || _SVID_SOURCE
.fi
.SH DESCRIPTION
The
.BR on_exit ()

View File

@ -51,10 +51,12 @@ Feature Test Macro Requirements for glibc (see
.PP
.IR sys_errlist ,
.IR sys_nerr :
.nf
From glibc 2.19 to 2.31:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE
.fi
.SH DESCRIPTION
The
.BR perror ()

View File

@ -45,10 +45,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR putpwent ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_SVID_SOURCE
.fi
.SH DESCRIPTION
The
.BR putpwent ()

View File

@ -42,10 +42,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR rpmatch ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_SVID_SOURCE
.fi
.SH DESCRIPTION
.BR rpmatch ()
handles a user response to yes or no questions, with

View File

@ -45,9 +45,11 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR seekdir ():
.nf
_XOPEN_SOURCE
|| /* Glibc since 2.19: */ _DEFAULT_SOURCE
|| /* Glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
.fi
.SH DESCRIPTION
The
.BR seekdir ()

View File

@ -67,10 +67,12 @@ Feature Test Macro Requirements for glibc (see
.PP
.BR setbuffer (),
.BR setlinebuf ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE
.fi
.SH DESCRIPTION
The three types of buffering available are unbuffered, block buffered, and
line buffered.

View File

@ -44,10 +44,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
All functions shown above:
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE
.fi
.SH DESCRIPTION
These functions are provided in glibc as a compatibility interface
for programs that make use of the historical BSD signal API.

View File

@ -46,10 +46,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR strsep ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE
.fi
.SH DESCRIPTION
If
.I *stringp

View File

@ -54,10 +54,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR vsyslog ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE
.fi
.SH DESCRIPTION
.SS openlog()
.BR openlog ()

View File

@ -43,9 +43,11 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR telldir ():
_XOPEN_SOURCE
|| /* Glibc since 2.19: */ _DEFAULT_SOURCE
|| /* Glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
.nf
_XOPEN_SOURCE
|| /* Glibc since 2.19: */ _DEFAULT_SOURCE
|| /* Glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
.fi
.SH DESCRIPTION
The
.BR telldir ()

View File

@ -38,10 +38,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
.BR tempnam ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE || _SVID_SOURCE
.fi
.SH DESCRIPTION
.I "Never use this function."
Use

View File

@ -73,10 +73,12 @@ Feature Test Macro Requirements for glibc (see
.PP
.BR cfsetspeed (),
.BR cfmakeraw ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE
.fi
.SH DESCRIPTION
The termios functions describe a general terminal interface that is
provided to control asynchronous communications ports.

View File

@ -40,10 +40,12 @@ Feature Test Macro Requirements for glibc (see
.PP
.BR timelocal (),
.BR timegm ():
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE || _SVID_SOURCE
.fi
.SH DESCRIPTION
The functions
.BR timelocal ()

View File

@ -48,10 +48,12 @@ Feature Test Macro Requirements for glibc (see
.RE
.PP
All functions shown above:
.nf
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
_BSD_SOURCE
.fi
.SH DESCRIPTION
The macros are provided to operate on
.I timeval