1 /* 2 * Copyright 2009-2010 Haiku Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _BSD_SYS_WAIT_H_ 6 #define _BSD_SYS_WAIT_H_ 7 8 9 #include_next <sys/wait.h> 10 #include <features.h> 11 12 13 #ifdef _DEFAULT_SOURCE 14 15 16 #include <sys/resource.h> 17 18 19 #ifdef __cplusplus 20 extern "C" { 21 #endif 22 23 pid_t wait3(int *status, int options, struct rusage *rusage); 24 25 pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage); 26 27 #ifdef __cplusplus 28 } 29 #endif 30 31 32 #endif 33 34 35 #endif /* _BSD_SYS_WAIT_H_ */ 36