blob: 612917fcf19b96a667f094972995116338bed21a (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
 | #define wait4 __wait4
#include <stdlib.h>
#include <sys/types.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/resource.h>
__pid_t attribute_hidden __waitpid(__pid_t pid, int *wait_stat, int options)
{
    return __wait4(pid, wait_stat, options, NULL);
}
strong_alias(__waitpid,waitpid)
weak_alias(__waitpid,__libc_waitpid)
 |