overhaul pthread cancellation
[musl] / src / process / waitpid.c
1 #include <sys/wait.h>
2 #include "syscall.h"
3 #include "libc.h"
4
5 pid_t waitpid(pid_t pid, int *status, int options)
6 {
7         return syscall_cp(SYS_wait4, pid, status, options, 0);
8 }