summaryrefslogtreecommitdiff
path: root/src/linux/wait4.c
blob: b3ae75e3229dc92c9af09eddd0cd4408913fcf2d (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 syscall(SYS_wait4, pid, status, options, usage);
}