summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/waitpid.c
blob: a912e51793720421896ad7c287c14674bd389fcc (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdlib.h>
#include <sys/types.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/resource.h>

__pid_t waitpid(__pid_t pid, int *wait_stat, int options)
{
    return wait4(pid, wait_stat, options, NULL);
}