summaryrefslogtreecommitdiff
path: root/lib/libc/wait/waitid.c
blob: 31060ddc0d827dbac5933a73de7dae71e5738ed2 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "asm/unistd_64.h" // for __NR_waitid

#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);
}