summaryrefslogblamecommitdiff
path: root/src/linux/wait4.c
blob: 97f12cc524685182d13121c4fd49c17205e1af2c (plain) (tree)
1
2
3
4
5
6
7
8
9
                   

                         



                                                                      
                                                               
 
#define _GNU_SOURCE
#include <sys/wait.h>
#include <sys/resource.h>
#include "syscall.h"

pid_t wait4(pid_t pid, int *status, int options, struct rusage *usage)
{
	return syscall(SYS_wait4, pid, status, options, usage);
}