about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/wait4.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-11-13 17:57:00 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-12-19 16:11:09 -0300
commit848791557bc4dbf783b03f2b8af77f71c909ed57 (patch)
tree19e9be29ab32a7bc648506bef0dd7020e5e49522 /sysdeps/unix/sysv/linux/wait4.c
parent9b2cf9482a9397c4711c9e7f42f8d718b6306bdc (diff)
downloadglibc-848791557bc4dbf783b03f2b8af77f71c909ed57.tar.gz
glibc-848791557bc4dbf783b03f2b8af77f71c909ed57.tar.xz
glibc-848791557bc4dbf783b03f2b8af77f71c909ed57.zip
Implement waitpid in terms of wait4
This also consolidate all waitpid implementations.

Checked on x86_64-linux-gnu.
Diffstat (limited to 'sysdeps/unix/sysv/linux/wait4.c')
-rw-r--r--sysdeps/unix/sysv/linux/wait4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/wait4.c b/sysdeps/unix/sysv/linux/wait4.c
index c97e212b54..1265f7da8d 100644
--- a/sysdeps/unix/sysv/linux/wait4.c
+++ b/sysdeps/unix/sysv/linux/wait4.c
@@ -81,4 +81,5 @@ __wait4 (pid_t pid, int *stat_loc, int options, struct rusage *usage)
 # error "The kernel ABI does not provide a way to implement wait4"
 #endif
 }
+libc_hidden_def (__wait4);
 weak_alias (__wait4, wait4)