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

int waitid(idtype_t type, id_t id, siginfo_t *info, int options)
{
	return syscall_cp(SYS_waitid, type, id, info, options, 0);
}