aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/libc/unistd/wait.c
blob: 7c0a6fbb0f717e7d378af53e9fec9feefbc49a6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdint.h>
#include <syscall.h>

u32 wait_pid(u32 pid, u32 *status, u32 options)
{
	return syscall_wait(pid, status, options);
}

u32 wait(u32 *status)
{
	return wait_pid(-1, status, 0);
}