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

__pid_t
waitpid(__pid_t pid, int *wait_stat, int options)
{
	return wait4(pid, (__WAIT_STATUS) wait_stat, options, NULL);
}