#include "signal.h" // for pid_t #include // for wait #include // for __syscall_4, syscall pid_t wait(int *stat_loc) { return syscall(wait4, -1, stat_loc, 0, 0); }