From fb961f311e5578dcb0ed3478c603c9e0038c2b80 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 21 Apr 2006 06:28:54 +0000 Subject: [PATCH] Simplified wording about requirement for _BSD_SOURCE macro. --- man2/chdir.2 | 3 +-- man2/chown.2 | 3 +-- man2/getgroups.2 | 3 +-- man2/gettimeofday.2 | 4 +--- man2/wait4.2 | 3 +-- man3/dirfd.3 | 3 +-- man3/initgroups.3 | 3 +-- 7 files changed, 7 insertions(+), 15 deletions(-) diff --git a/man2/chdir.2 b/man2/chdir.2 index f22c68457..9f930dd7d 100644 --- a/man2/chdir.2 +++ b/man2/chdir.2 @@ -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 () diff --git a/man2/chown.2 b/man2/chown.2 index cdb0c0c12..f05810b79 100644 --- a/man2/chown.2 +++ b/man2/chown.2 @@ -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 () diff --git a/man2/getgroups.2 b/man2/getgroups.2 index 896436ed8..8d04a1983 100644 --- a/man2/getgroups.2 +++ b/man2/getgroups.2 @@ -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 diff --git a/man2/gettimeofday.2 b/man2/gettimeofday.2 index 495015ae1..f641516d2 100644 --- a/man2/gettimeofday.2 +++ b/man2/gettimeofday.2 @@ -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 diff --git a/man2/wait4.2 b/man2/wait4.2 index 63045abb0..0353bb750 100644 --- a/man2/wait4.2 +++ b/man2/wait4.2 @@ -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" diff --git a/man3/dirfd.3 b/man3/dirfd.3 index d390a6a0d..c1d07cfb8 100644 --- a/man3/dirfd.3 +++ b/man3/dirfd.3 @@ -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. diff --git a/man3/initgroups.3 b/man3/initgroups.3 index d2397843a..2dc449203 100644 --- a/man3/initgroups.3 +++ b/man3/initgroups.3 @@ -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)