]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man2/wait.2
wait.2: Update waitid() feature test macro requirements
[thirdparty/man-pages.git] / man2 / wait.2
index b2dab89e9b912dcdde0bc38d543e080069779667..eadbf823a8d634d71b4e335e270749652d02f904 100644 (file)
@@ -67,8 +67,24 @@ Feature Test Macro Requirements for glibc (see
 .BR feature_test_macros (7)):
 .in
 .sp
+.ad l
+.PD 0
 .BR waitid ():
-_SVID_SOURCE || _XOPEN_SOURCE
+.RS 4
+.TP 4
+Since glibc 2.12:
+_POSIX_C_SOURCE\ >=\ 200809L ||
+_SVID_SOURCE ||
+_XOPEN_SOURCE\ >=\ 500 ||
+_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+.TP
+Before glibc 2.12:
+_SVID_SOURCE ||
+_XOPEN_SOURCE\ >=\ 500 ||
+_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+.RE
+.PD
+.ad
 .SH DESCRIPTION
 All of these system calls are used to wait for state changes
 in a child of the calling process, and obtain information