#include #include #include extern "C" { pid_t wait(int* wstatus) { return waitpid(-1, wstatus, 0); } }