fix usage of locks with vfork
[musl] / src / process / waitid.c
1 #include <sys/wait.h>
2 #include "syscall.h"
3 #include "libc.h"
4
5 int 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 }