OSDN Git Service

hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing...
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / common / waitpid.c
1 /*
2  * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
3  *
4  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
5  */
6
7 #include <stdlib.h>
8 #include <sys/types.h>
9 #include <sys/types.h>
10 #include <sys/wait.h>
11 #include <sys/resource.h>
12
13 libc_hidden_proto(wait4)
14
15 __pid_t __libc_waitpid(__pid_t pid, int *wait_stat, int options)
16 {
17     return wait4(pid, wait_stat, options, NULL);
18 }
19 strong_alias(__libc_waitpid,waitpid)
20 libc_hidden_proto(waitpid)
21 libc_hidden_def(waitpid)