xref: /haiku/headers/compatibility/bsd/sys/wait.h (revision a3e794ae459fec76826407f8ba8c94cd3535f128)
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 
11 
12 #ifdef _BSD_SOURCE
13 
14 
15 #include <sys/resource.h>
16 
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 pid_t wait3(int *status, int options, struct rusage *rusage);
23 
24 pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage);
25 
26 #ifdef __cplusplus
27 }
28 #endif
29 
30 
31 #endif
32 
33 
34 #endif	/* _BSD_SYS_WAIT_H_ */
35