]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Added feature test macros to SYNOPSIS.
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 9 Sep 2006 06:37:43 +0000 (06:37 +0000)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 9 Sep 2006 06:37:43 +0000 (06:37 +0000)
man2/wait4.2

index 7cedb797bd11e4c1fee1c7bc300fa1054feeb2ee..5014914818789e34360c3d5fbf60d898400a097e 100644 (file)
@@ -36,6 +36,8 @@
 wait3, wait4 \- wait for process to change state, BSD style
 .SH SYNOPSIS
 .nf
+.B #define _BSD_SOURCE          
+                /* Or #define _XOPEN_SOURCE 500 for wait3() */
 .B #include <sys/types.h>
 .B #include <sys/time.h>
 .B #include <sys/resource.h>
@@ -124,10 +126,6 @@ structure with fields of type
 .I struct timeval
 defined in
 .IR <sys/time.h> .)
-.LP
-The prototype for these functions is only available if
-.B _BSD_SOURCE
-is defined.
 .SH "CONFORMING TO"
 4.3BSD
 .SH "SEE ALSO"