blob: 262c6b75436604b8bd0c4ad7331a087101cf2827 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include "asm/unistd_64.h" // for __NR_wait4
#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);
}
|