summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/wait.c
blob: dc98986173b3fb4ced38e6e06ea5dd7c6d0272a1 (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 wait(__WAIT_STATUS wait_stat)
{
	return wait4((-1) /* WAIT_ANY */, wait_stat, 0, NULL);
}