0b44a031
aa398f56
1 2 3 4 5
6
7
#include <sys/wait.h> #include "syscall.h" pid_t waitpid(pid_t pid, int *status, int options) { return syscall(SYS_wait4, pid, status, options, 0); }