diff options
Diffstat (limited to 'next-posix.c')
-rw-r--r-- | next-posix.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/next-posix.c b/next-posix.c index d5cc733d..43ec0acd 100644 --- a/next-posix.c +++ b/next-posix.c @@ -40,24 +40,6 @@ posix_wait(int *status) return wait_pid; } -pid_t -waitpid(int pid, int *stat_loc, int options) -{ - union wait statusp; - pid_t wait_pid; - - if (pid <= 0) { - if (pid != -1) { - errno = EINVAL; - return -1; - } - pid = 0; /* wait4() wants pid=0 for indiscriminate wait. */ - } - wait_pid = wait4(pid, &statusp, options, NULL); - stat_loc = (int *)statusp.w_status; - return wait_pid; -} - int tcgetattr(int fd, struct termios *t) { |