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