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

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