Simplified wording about requirement for _BSD_SOURCE macro.

This commit is contained in:
Michael Kerrisk 2006-04-21 06:28:54 +00:00
parent 2c5e151c7f
commit fb961f311e
7 changed files with 7 additions and 15 deletions

View File

@ -107,8 +107,7 @@ The prototype for
.BR fchdir ()
is only available if
.B _BSD_SOURCE
is defined (either explicitly, or implicitly, by not defining
_POSIX_SOURCE or compiling with the \-ansi flag).
is defined.
.SH "CONFORMING TO"
The
.BR chdir ()

View File

@ -157,8 +157,7 @@ The prototype for
.BR fchown ()
is only available if
.B _BSD_SOURCE
is defined (either explicitly, or implicitly, by not defining
_POSIX_SOURCE or compiling with the \-ansi flag).
is defined.
.SH "CONFORMING TO"
The
.BR chown ()

View File

@ -114,8 +114,7 @@ The prototype for
.BR setgroups ()
is only available if
.B _BSD_SOURCE
is defined (either explicitly, or implicitly, by not defining
_POSIX_SOURCE or compiling with the \-ansi flag).
is defined.
.SH "CONFORMING TO"
SVr4, SVID (issue 4 only; these calls were not present in SVr3),
X/OPEN, 4.3BSD. The

View File

@ -218,9 +218,7 @@ and the defines for
.BR timersub
are (since glibc2.2.2) only available if
.B _BSD_SOURCE
is defined (either explicitly, or implicitly, by not defining
.B _POSIX_SOURCE
or compiling with the \-ansi flag).
is defined.
.LP
Traditionally, the fields of
.I struct timeval

View File

@ -127,8 +127,7 @@ defined in
.LP
The prototype for these functions is only available if
.B _BSD_SOURCE
is defined (either explicitly, or implicitly, by not defining
_POSIX_SOURCE or compiling with the \-ansi flag).
is defined.
.SH "CONFORMING TO"
4.3BSD
.SH "SEE ALSO"

View File

@ -53,8 +53,7 @@ is only available if
.B _BSD_SOURCE
or
.B _SVID_SOURCE
is defined (either explicitly, or implicitly, by not defining
_POSIX_SOURCE or compiling with the \-ansi flag).
is defined.
.SH "CONFORMING TO"
This is a BSD extension, present in 4.3BSD-Reno, not in 4.2BSD.
Present in libc5 (since 5.1.2) and in glibc2.

View File

@ -70,8 +70,7 @@ The prototype for
.BR initgroups ()
is only available if
.B _BSD_SOURCE
is defined (either explicitly, or implicitly, by not defining
_POSIX_SOURCE or compiling with the \-ansi flag).
is defined.
.SH "SEE ALSO"
.BR getgroups (2),
.BR setgroups (2)