mirror of https://github.com/mkerrisk/man-pages
acct.2, getdomainname.2, gethostname.2, vhangup.2, daemon.3, gethostid.3, getusershell.3, profil.3: Update feature test macro requirements
Update to use _DEFAULT_SOURCE, and also changes brought by glibc commit 266865c0e7b79d4196e2cc393693463f03c90bd8. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
344c74c02a
commit
d054453419
10
man2/acct.2
10
man2/acct.2
|
@ -46,7 +46,15 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR acct ():
|
||||
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
.nf
|
||||
Since glibc 2.21:
|
||||
.\" commit 266865c0e7b79d4196e2cc393693463f03c90bd8
|
||||
_DEFAULT_SOURCE
|
||||
In glibc 2.19 and 2.20:
|
||||
_DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
Up to and including glibc 2.19:
|
||||
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
.BR acct ()
|
||||
|
|
|
@ -44,9 +44,15 @@ Feature Test Macro Requirements for glibc (see
|
|||
.ad l
|
||||
.BR getdomainname (),
|
||||
.BR setdomainname ():
|
||||
.RS 4
|
||||
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
.RE
|
||||
.nf
|
||||
Since glibc 2.21:
|
||||
.\" commit 266865c0e7b79d4196e2cc393693463f03c90bd8
|
||||
_DEFAULT_SOURCE
|
||||
In glibc 2.19 and 2.20:
|
||||
_DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
Up to and including glibc 2.19:
|
||||
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
.fi
|
||||
.ad
|
||||
.SH DESCRIPTION
|
||||
These functions are used to access or to change the NIS domain name of the
|
||||
|
|
|
@ -55,9 +55,15 @@ _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
|||
.RE
|
||||
.br
|
||||
.BR sethostname ():
|
||||
.RS 4
|
||||
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
.RE
|
||||
.nf
|
||||
Since glibc 2.21:
|
||||
.\" commit 266865c0e7b79d4196e2cc393693463f03c90bd8
|
||||
_DEFAULT_SOURCE
|
||||
In glibc 2.19 and 2.20:
|
||||
_DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
Up to and including glibc 2.19:
|
||||
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
.fi
|
||||
.PD
|
||||
.ad
|
||||
.SH DESCRIPTION
|
||||
|
|
|
@ -40,7 +40,15 @@ Feature Test Macro Requirements for glibc (see
|
|||
.sp
|
||||
.ad l
|
||||
.BR vhangup ():
|
||||
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
.nf
|
||||
Since glibc 2.21:
|
||||
.\" commit 266865c0e7b79d4196e2cc393693463f03c90bd8
|
||||
_DEFAULT_SOURCE
|
||||
In glibc 2.19 and 2.20:
|
||||
_DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
Up to and including glibc 2.19:
|
||||
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
.fi
|
||||
.ad b
|
||||
.SH DESCRIPTION
|
||||
.BR vhangup ()
|
||||
|
|
|
@ -47,7 +47,15 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR daemon ():
|
||||
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
.nf
|
||||
Since glibc 2.21:
|
||||
.\" commit 266865c0e7b79d4196e2cc393693463f03c90bd8
|
||||
_DEFAULT_SOURCE
|
||||
In glibc 2.19 and 2.20:
|
||||
_DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
Up to and including glibc 2.19:
|
||||
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
.BR daemon ()
|
||||
|
|
|
@ -49,9 +49,15 @@ _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
|
|||
_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
|
||||
.RE
|
||||
.BR sethostid ():
|
||||
.RS 4
|
||||
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
.RE
|
||||
.nf
|
||||
Since glibc 2.21:
|
||||
.\" commit 266865c0e7b79d4196e2cc393693463f03c90bd8
|
||||
_DEFAULT_SOURCE
|
||||
In glibc 2.19 and 2.20:
|
||||
_DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
Up to and including glibc 2.19:
|
||||
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
.fi
|
||||
.ad b
|
||||
.SH DESCRIPTION
|
||||
.BR gethostid ()
|
||||
|
|
|
@ -50,9 +50,15 @@ Feature Test Macro Requirements for glibc (see
|
|||
.BR getusershell (),
|
||||
.BR setusershell (),
|
||||
.BR endusershell ():
|
||||
.RS 4
|
||||
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
.RE
|
||||
.nf
|
||||
Since glibc 2.21:
|
||||
.\" commit 266865c0e7b79d4196e2cc393693463f03c90bd8
|
||||
_DEFAULT_SOURCE
|
||||
In glibc 2.19 and 2.20:
|
||||
_DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
Up to and including glibc 2.19:
|
||||
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
.fi
|
||||
.ad b
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
|
@ -42,7 +42,15 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR profil ():
|
||||
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
.nf
|
||||
Since glibc 2.21:
|
||||
.\" commit 266865c0e7b79d4196e2cc393693463f03c90bd8
|
||||
_DEFAULT_SOURCE
|
||||
In glibc 2.19 and 2.20:
|
||||
_DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
Up to and including glibc 2.19:
|
||||
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
This routine provides a means to find out in what areas your program
|
||||
spends most of its time.
|
||||
|
|
Loading…
Reference in New Issue