blob: 252beb0c917627454ff04d550502e11f3159b291 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#define _GNU_SOURCE
#include <sys/wait.h>
#include <sys/resource.h>
#include <string.h>
#include "syscall.h"
pid_t wait4(pid_t pid, int *status, int options, struct rusage *usage)
{
return syscall4(__NR_wait4, pid, (long)status, options, (long)usage);
}
|