2009-11-17 18:53:17 +03:00
|
|
|
/*
|
2010-11-04 01:04:50 +03:00
|
|
|
* Copyright 2009-2010 Haiku Inc. All Rights Reserved.
|
2009-11-17 18:53:17 +03:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _BSD_SYS_WAIT_H_
|
|
|
|
#define _BSD_SYS_WAIT_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include_next <sys/wait.h>
|
2019-07-20 13:02:02 +03:00
|
|
|
#include <features.h>
|
2009-11-17 18:53:17 +03:00
|
|
|
|
2015-04-16 08:29:58 +03:00
|
|
|
|
2019-07-20 13:02:02 +03:00
|
|
|
#ifdef _DEFAULT_SOURCE
|
2015-04-16 08:29:58 +03:00
|
|
|
|
|
|
|
|
2009-11-17 18:53:17 +03:00
|
|
|
#include <sys/resource.h>
|
|
|
|
|
2009-11-17 19:13:00 +03:00
|
|
|
|
2009-11-17 18:53:17 +03: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 08:29:58 +03:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2009-11-17 18:53:17 +03:00
|
|
|
#endif /* _BSD_SYS_WAIT_H_ */
|