Implement wait in terms of waitpid
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 13 Nov 2019 16:30:46 +0000 (13:30 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 19 Dec 2019 19:11:09 +0000 (16:11 -0300)
commitc5cbdacb8acec54e140c879393c8c7dd658c3488
tree6fc81c727cf21a1952e6571e50847220babba760
parentb633cdff2cd7259baea4d115cce0a818542f6f98
Implement wait in terms of waitpid

The POSIX implementation is used as default and both BSD and Linux
version are removed.  It simplifies the implementation for
architectures that do not provide either __NR_waitpid or
__NR_wait4.

Checked on x86_64-linux-gnu and powerpc64le-linux-gnu.
posix/wait.c
sysdeps/posix/wait.c [deleted file]
sysdeps/unix/bsd/wait.c [deleted file]
sysdeps/unix/sysv/linux/wait.c [deleted file]