blob: 52765008f6957c181ecc40bd043aa811249da9f5 (
plain)
1
2
3
4
5
6
7
8
9
|
#include "sys/types.h" // for pid_t
#include <sys/wait.h> // for wait
#include <syscall.h> // for __syscall_4, syscall
pid_t wait(int *stat_loc)
{
return syscall(wait4, -1, stat_loc, 0, 0);
}
|