blob: 97f12cc524685182d13121c4fd49c17205e1af2c [file] [log] [blame]
Rich Felkercc2a8222011-02-19 02:28:42 -05001#define _GNU_SOURCE
Rich Felker0b44a032011-02-12 00:22:29 -05002#include <sys/wait.h>
3#include <sys/resource.h>
Rich Felker0b44a032011-02-12 00:22:29 -05004#include "syscall.h"
5
6pid_t wait4(pid_t pid, int *status, int options, struct rusage *usage)
7{
Rich Felkeraa398f52011-03-20 00:16:43 -04008 return syscall(SYS_wait4, pid, status, options, usage);
Rich Felker0b44a032011-02-12 00:22:29 -05009}