Formerly sysdeps/unix/bsd/sun/sunos4/__wait4.c.~4~

This commit is contained in:
Roland McGrath 1993-04-23 00:54:09 +00:00
parent d1c8a6e722
commit 1faa98bdde

View File

@ -2,7 +2,7 @@
SunOS 4.1) on top of SunOS's wait4 system call, which has semantics SunOS 4.1) on top of SunOS's wait4 system call, which has semantics
different from those documented. Go Sun! different from those documented. Go Sun!
Copyright (C) 1991, 1992 Free Software Foundation, Inc. Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -25,13 +25,13 @@ Cambridge, MA 02139, USA. */
#include <sys/wait.h> #include <sys/wait.h>
#include <unistd.h> #include <unistd.h>
extern pid_t EXFUN(__wait4_syscall, extern pid_t __wait4_syscall __P ((pid_t pid, __WAIT_STATUS stat_loc,
(pid_t pid, union wait *stat_loc, int options, PTR usage)); int options, struct rusage *usage));
pid_t pid_t
DEFUN(__wait4, (pid, stat_loc, options, usage), DEFUN(__wait4, (pid, stat_loc, options, usage),
pid_t pid AND union wait *stat_loc AND int options AND pid_t pid AND __WAIT_STATUS stat_loc AND
struct rusage *usage) int options AND struct rusage *usage)
{ {
switch (pid) switch (pid)
{ {