summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/wait3.c
blob: 7448b62944df842724d2c35540d95a44dd786530 (plain)
1
2
3
4
5
6
7
8
9
#include <syscall.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/resource.h>

__pid_t wait3(__WAIT_STATUS wait_stat, int options, struct rusage *reserved)
{
	return wait4((-1) /* WAIT_ANY*/, wait_stat, options, reserved);
}