mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
Formerly sysdeps/unix/bsd/sun/sunos4/__wait4.c.~4~
This commit is contained in:
parent
d1c8a6e722
commit
1faa98bdde
@ -2,7 +2,7 @@
|
||||
SunOS 4.1) on top of SunOS's wait4 system call, which has semantics
|
||||
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.
|
||||
|
||||
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 <unistd.h>
|
||||
|
||||
extern pid_t EXFUN(__wait4_syscall,
|
||||
(pid_t pid, union wait *stat_loc, int options, PTR usage));
|
||||
extern pid_t __wait4_syscall __P ((pid_t pid, __WAIT_STATUS stat_loc,
|
||||
int options, struct rusage *usage));
|
||||
|
||||
pid_t
|
||||
DEFUN(__wait4, (pid, stat_loc, options, usage),
|
||||
pid_t pid AND union wait *stat_loc AND int options AND
|
||||
struct rusage *usage)
|
||||
pid_t pid AND __WAIT_STATUS stat_loc AND
|
||||
int options AND struct rusage *usage)
|
||||
{
|
||||
switch (pid)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user