mirror of https://github.com/mkerrisk/man-pages
getgroups.2, gettimeofday.2, mincore.2, readv.2, stime.2, wait4.2, addseverity.3, adjtime.3, cfree.3, dysize.3, fgetgrent.3, fgetpwent.3, futimes.3, getdirentries.3, getgrent_r.3, getgrouplist.3, getmntent.3, getnetent_r.3, getprotoent_r.3, getpwent_r.3, getrpcent_r.3, getservent_r.3, getspnam.3, gsignal.3, initgroups.3, mkdtemp.3, on_exit.3, perror.3, psignal.3, putpwent.3, rcmd.3, rpmatch.3, setbuf.3, setnetgrent.3, sigvec.3, strsep.3, syslog.3, tempnam.3, termios.3, timegm.3, timeradd.3: Update FTM requirements (_DEFAULT_SOURCE)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
3dd87b7c99
commit
51c612fb9f
|
@ -49,7 +49,10 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR setgroups ():
|
||||
_BSD_SOURCE
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_SVID_SOURCE
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
.BR getgroups ()
|
||||
|
|
|
@ -56,6 +56,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR settimeofday ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The functions
|
||||
|
|
|
@ -47,6 +47,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR mincore ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE || _SVID_SOURCE
|
||||
.SH DESCRIPTION
|
||||
.BR mincore ()
|
||||
|
|
|
@ -54,6 +54,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.sp
|
||||
.BR preadv (),
|
||||
.BR pwritev ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
|
@ -41,6 +41,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR stime ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_SVID_SOURCE
|
||||
.SH DESCRIPTION
|
||||
.BR stime ()
|
||||
|
|
10
man2/wait4.2
10
man2/wait4.2
|
@ -54,15 +54,17 @@ Feature Test Macro Requirements for glibc (see
|
|||
.sp
|
||||
.ad l
|
||||
.BR wait3 ():
|
||||
.RS 4
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
|
||||
.RE
|
||||
.br
|
||||
.BR wait4 ():
|
||||
.RS 4
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE
|
||||
.RE
|
||||
.ad
|
||||
.SH DESCRIPTION
|
||||
These functions are obsolete; use
|
||||
|
|
|
@ -23,6 +23,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR addseverity ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_SVID_SOURCE
|
||||
.SH DESCRIPTION
|
||||
This function allows the introduction of new severity classes
|
||||
|
|
|
@ -38,6 +38,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR adjtime ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
|
@ -48,6 +48,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR cfree ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE || _SVID_SOURCE
|
||||
.SH DESCRIPTION
|
||||
This function should never be used.
|
||||
|
|
|
@ -37,6 +37,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR dysize ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE || _SVID_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The function returns 365 for a normal year and 366 for a leap year.
|
||||
|
|
|
@ -45,6 +45,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR fgetgrent ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_SVID_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
|
@ -48,6 +48,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR fgetpwent ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_SVID_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
|
@ -41,6 +41,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.sp
|
||||
.BR futimes (),
|
||||
.BR lutimes ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE
|
||||
.SH DESCRIPTION
|
||||
.BR futimes ()
|
||||
|
|
|
@ -39,6 +39,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR getdirentries ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE || _SVID_SOURCE
|
||||
.SH DESCRIPTION
|
||||
Read directory entries from the directory specified by
|
||||
|
|
|
@ -47,6 +47,9 @@ _GNU_SOURCE
|
|||
.\" FIXME . The FTM requirements seem inconsistent here. File a glibc bug?
|
||||
.br
|
||||
.BR fgetgrent_r ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_SVID_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The functions
|
||||
|
|
|
@ -42,6 +42,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR getgrouplist ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
|
@ -61,6 +61,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR getmntent_r ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE || _SVID_SOURCE
|
||||
.SH DESCRIPTION
|
||||
These routines are used to access the filesystem description file
|
||||
|
|
|
@ -55,9 +55,10 @@ Feature Test Macro Requirements for glibc (see
|
|||
.BR getnetent_r (),
|
||||
.BR getnetbyname_r (),
|
||||
.BR getnetbyaddr_r ():
|
||||
.RS 4
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE || _SVID_SOURCE
|
||||
.RE
|
||||
.ad b
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
|
@ -52,9 +52,10 @@ Feature Test Macro Requirements for glibc (see
|
|||
.BR getprotoent_r (),
|
||||
.BR getprotobyname_r (),
|
||||
.BR getprotobynumber_r ():
|
||||
.RS 4
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE || _SVID_SOURCE
|
||||
.RE
|
||||
.ad b
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
|
@ -43,9 +43,15 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR getpwent_r (),
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE || _SVID_SOURCE
|
||||
.br
|
||||
.BR fgetpwent_r ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_SVID_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The functions
|
||||
|
|
|
@ -52,9 +52,10 @@ Feature Test Macro Requirements for glibc (see
|
|||
.BR getrpcent_r (),
|
||||
.BR getrpcbyname_r (),
|
||||
.BR getrpcbynumber_r ():
|
||||
.RS 4
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE || _SVID_SOURCE
|
||||
.RE
|
||||
.ad b
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
|
@ -52,9 +52,10 @@ Feature Test Macro Requirements for glibc (see
|
|||
.BR getservent_r (),
|
||||
.BR getservbyname_r (),
|
||||
.BR getservbyport_r ():
|
||||
.RS 4
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE || _SVID_SOURCE
|
||||
.RE
|
||||
.ad b
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
|
@ -65,9 +65,10 @@ Feature Test Macro Requirements for glibc (see
|
|||
.BR getspnam_r (),
|
||||
.BR fgetspent_r (),
|
||||
.BR sgetspent_r ():
|
||||
.RS 4
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE || _SVID_SOURCE
|
||||
.RE
|
||||
.ad b
|
||||
.SH DESCRIPTION
|
||||
Long ago it was considered safe to have encrypted passwords openly
|
||||
|
|
|
@ -45,6 +45,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.sp
|
||||
.BR gsignal (),
|
||||
.BR ssignal ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_SVID_SOURCE
|
||||
.SH DESCRIPTION
|
||||
Don't use these functions under Linux.
|
||||
|
|
|
@ -46,6 +46,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR initgroups ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
|
@ -43,15 +43,15 @@ Feature Test Macro Requirements for glibc (see
|
|||
.ad l
|
||||
.RS 4
|
||||
.PD 0
|
||||
_BSD_SOURCE
|
||||
/* Since glibc 2.19: */ _DEFAULT_SOURCE
|
||||
.br
|
||||
|| /* Glibc 2.19 and earlier: */ _BSD_SOURCE
|
||||
.br
|
||||
|| /* Since glibc 2.10: */
|
||||
.RS 4
|
||||
_POSIX_C_SOURCE\ >=\ 200809L
|
||||
.ad
|
||||
.PD
|
||||
.RE
|
||||
.RE
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
.BR mkdtemp ()
|
||||
|
|
|
@ -44,6 +44,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR on_exit ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE || _SVID_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
|
@ -51,6 +51,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.sp
|
||||
.IR sys_errlist ,
|
||||
.IR sys_nerr :
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
|
@ -46,12 +46,18 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR psignal ():
|
||||
_SVID_SOURCE || _BSD_SOURCE
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE || _SVID_SOURCE
|
||||
.br
|
||||
.BR psiginfo ():
|
||||
_POSIX_C_SOURCE\ >=\ 200809L
|
||||
.br
|
||||
.IR sys_siglist :
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
|
@ -45,6 +45,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR putpwent ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_SVID_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
|
@ -88,6 +88,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.BR iruserok_af (),
|
||||
.BR ruserok (),
|
||||
.BR ruserok_af ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
|
@ -42,6 +42,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR rpmatch ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_SVID_SOURCE
|
||||
.SH DESCRIPTION
|
||||
.BR rpmatch ()
|
||||
|
|
|
@ -69,6 +69,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.sp
|
||||
.BR setbuffer (),
|
||||
.BR setlinebuf ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The three types of buffering available are unbuffered, block buffered, and
|
||||
|
|
|
@ -39,6 +39,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.BR getnetgrent (),
|
||||
.BR getnetgrent_r (),
|
||||
.BR innetgr ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE || _SVID_SOURCE
|
||||
.ad b
|
||||
.SH DESCRIPTION
|
||||
|
|
|
@ -45,6 +45,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
All functions shown above:
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE
|
||||
.SH DESCRIPTION
|
||||
These functions are provided in glibc as a compatibility interface
|
||||
|
|
|
@ -46,6 +46,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR strsep ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE
|
||||
.SH DESCRIPTION
|
||||
If
|
||||
|
|
|
@ -53,6 +53,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR vsyslog ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE
|
||||
.SH DESCRIPTION
|
||||
.BR closelog ()
|
||||
|
|
|
@ -38,6 +38,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR tempnam ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE || _SVID_SOURCE
|
||||
.SH DESCRIPTION
|
||||
.I "Never use this function."
|
||||
|
|
|
@ -81,6 +81,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.sp
|
||||
.BR cfsetspeed (),
|
||||
.BR cfmakeraw ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The termios functions describe a general terminal interface that is
|
||||
|
|
|
@ -41,6 +41,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.sp
|
||||
.BR timelocal (),
|
||||
.BR timegm ():
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE || _SVID_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The functions
|
||||
|
|
|
@ -50,6 +50,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
All functions shown above:
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The macros are provided to operate on
|
||||
|
|
Loading…
Reference in New Issue