summaryrefslogtreecommitdiff
path: root/lib/libc/wait/waitid.c
blob: f0f6bf0a15d4c350507ae9e0d265218fa347233b (plain)
1
2
3
4
5
6
7
8
9
10
11
12



#include <signal.h>    // for siginfo_t
#include <sys/types.h> // for id_t
#include <sys/wait.h>  // for idtype_t, waitid
#include <syscall.h>   // for __syscall_4, syscall

int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options)
{
	return syscall(waitid, idtype, id, infop, options);
}