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 .RE
.PP .PP
.BR setgroups (): .BR setgroups ():
.nf
Since glibc 2.19: Since glibc 2.19:
_DEFAULT_SOURCE _DEFAULT_SOURCE
Glibc 2.19 and earlier: Glibc 2.19 and earlier:
_BSD_SOURCE _BSD_SOURCE
.fi
.SH DESCRIPTION .SH DESCRIPTION
.BR getgroups () .BR getgroups ()
returns the supplementary group IDs of the calling process in returns the supplementary group IDs of the calling process in

View File

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

View File

@ -48,10 +48,12 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR mincore (): .BR mincore ():
.nf
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
.fi
.SH DESCRIPTION .SH DESCRIPTION
.BR mincore () .BR mincore ()
returns a vector that indicates whether pages returns a vector that indicates whether pages

View File

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

View File

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

View File

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

View File

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

View File

@ -48,10 +48,12 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR cfree (): .BR cfree ():
.nf
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
.fi
.SH DESCRIPTION .SH DESCRIPTION
This function should never be used. This function should never be used.
Use Use

View File

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

View File

@ -46,7 +46,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR confstr (): .BR confstr ():
.nf
_POSIX_C_SOURCE >= 2 || _XOPEN_SOURCE _POSIX_C_SOURCE >= 2 || _XOPEN_SOURCE
.fi
.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,9 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR ctermid (): .BR ctermid ():
.nf
_POSIX_C_SOURCE _POSIX_C_SOURCE
.fi
.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

@ -39,10 +39,12 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR dysize (): .BR dysize ():
.nf
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
.fi
.SH DESCRIPTION .SH DESCRIPTION
The function returns 365 for a normal year and 366 for a leap year. The function returns 365 for a normal year and 366 for a leap year.
The calculation for leap year is based on: The calculation for leap year is based on:

View File

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

View File

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

View File

@ -40,10 +40,12 @@ Feature Test Macro Requirements for glibc (see
.PP .PP
.BR futimes (), .BR futimes (),
.BR lutimes (): .BR lutimes ():
.nf
Since glibc 2.19: Since glibc 2.19:
_DEFAULT_SOURCE _DEFAULT_SOURCE
Glibc 2.19 and earlier: Glibc 2.19 and earlier:
_BSD_SOURCE _BSD_SOURCE
.fi
.SH DESCRIPTION .SH DESCRIPTION
.BR futimes () .BR futimes ()
changes the access and modification times of a file in the same way as 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 .RE
.PP .PP
.BR getdirentries (): .BR getdirentries ():
.nf
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
.fi
.SH DESCRIPTION .SH DESCRIPTION
Read directory entries from the directory specified by Read directory entries from the directory specified by
.I fd .I fd

View File

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

View File

@ -61,10 +61,12 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR getmntent_r (): .BR getmntent_r ():
.nf
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
.fi
.SH DESCRIPTION .SH DESCRIPTION
These routines are used to access the filesystem description file These routines are used to access the filesystem description file
.I /etc/fstab .I /etc/fstab

View File

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

View File

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

View File

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

View File

@ -44,10 +44,12 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR on_exit (): .BR on_exit ():
.nf
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
.fi
.SH DESCRIPTION .SH DESCRIPTION
The The
.BR on_exit () .BR on_exit ()

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -44,10 +44,12 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
All functions shown above: All functions shown above:
.nf
Since glibc 2.19: Since glibc 2.19:
_DEFAULT_SOURCE _DEFAULT_SOURCE
Glibc 2.19 and earlier: Glibc 2.19 and earlier:
_BSD_SOURCE _BSD_SOURCE
.fi
.SH DESCRIPTION .SH DESCRIPTION
These functions are provided in glibc as a compatibility interface These functions are provided in glibc as a compatibility interface
for programs that make use of the historical BSD signal API. 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 .RE
.PP .PP
.BR strsep (): .BR strsep ():
.nf
Since glibc 2.19: Since glibc 2.19:
_DEFAULT_SOURCE _DEFAULT_SOURCE
Glibc 2.19 and earlier: Glibc 2.19 and earlier:
_BSD_SOURCE _BSD_SOURCE
.fi
.SH DESCRIPTION .SH DESCRIPTION
If If
.I *stringp .I *stringp

View File

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

View File

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

View File

@ -38,10 +38,12 @@ Feature Test Macro Requirements for glibc (see
.RE .RE
.PP .PP
.BR tempnam (): .BR tempnam ():
.nf
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
.fi
.SH DESCRIPTION .SH DESCRIPTION
.I "Never use this function." .I "Never use this function."
Use Use

View File

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

View File

@ -40,10 +40,12 @@ Feature Test Macro Requirements for glibc (see
.PP .PP
.BR timelocal (), .BR timelocal (),
.BR timegm (): .BR timegm ():
.nf
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
.fi
.SH DESCRIPTION .SH DESCRIPTION
The functions The functions
.BR timelocal () .BR timelocal ()

View File

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