summaryrefslogtreecommitdiff
path: root/src/process/waitpid.c
blob: f75e31ef24674df14252163f858aac6e6ddf8ed2 (plain)
1
2
3
4
5
6
7
8
#include <sys/wait.h>
#include "syscall.h"
#include "libc.h"

pid_t waitpid(pid_t pid, int *status, int options)
{
	return syscall_cp(SYS_wait4, pid, status, options, 0);
}