about summary refs log tree commit diff
path: root/src/process/waitid.c
blob: 0ec0d55c2ec7ae18fc40e34c7741d1227aa661c6 (plain) (blame)
1
2
3
4
5
6
7
#include <sys/wait.h>
#include "syscall.h"

int waitid(idtype_t type, id_t id, siginfo_t *info, int options)
{
	return syscall5(__NR_waitid, type, id, (long)info, options, 0);
}