1#include <sys/wait.h>
2#include "syscall.h"
3#include "libc.h"
4
5int waitid(idtype_t type, id_t id, siginfo_t *info, int options)
6{
7	return syscall_cp(SYS_waitid, type, id, info, options, 0);
8}
9