fix posix_spawn interaction with fork and abort by taking lock
[musl.git] / src / process / waitid.c
blobd688650d8555954f4cb970e7711a032a47dcef43
1 #include <sys/wait.h>
2 #include "syscall.h"
4 int waitid(idtype_t type, id_t id, siginfo_t *info, int options)
6 return syscall_cp(SYS_waitid, type, id, info, options, 0);