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

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