2009-11-17 15:53:17 +00:00
|
|
|
/*
|
2010-11-03 22:04:50 +00:00
|
|
|
* Copyright 2009-2010 Haiku Inc. All Rights Reserved.
|
2009-11-17 15:53:17 +00:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _BSD_SYS_WAIT_H_
|
|
|
|
#define _BSD_SYS_WAIT_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include_next <sys/wait.h>
|
|
|
|
|
2015-04-16 07:29:58 +02:00
|
|
|
|
|
|
|
#ifdef _BSD_SOURCE
|
|
|
|
|
|
|
|
|
2009-11-17 15:53:17 +00:00
|
|
|
#include <sys/resource.h>
|
|
|
|
|
2009-11-17 16:13:00 +00:00
|
|
|
|
2009-11-17 15:53:17 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
pid_t wait3(int *status, int options, struct rusage *rusage);
|
|
|
|
|
|
|
|
pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2015-04-16 07:29:58 +02:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2009-11-17 15:53:17 +00:00
|
|
|
#endif /* _BSD_SYS_WAIT_H_ */
|