/* * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. * * %sccs.include.redist.c% */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)waitpid.c 8.1 (Berkeley) 06/04/93"; #endif /* LIBC_SCCS and not lint */ #include #include #include #include pid_t #if __STDC__ waitpid(pid_t pid, int *istat, int options) #else waitpid(pid, istat, options) pid_t pid; int *istat; int options; #endif { return (wait4(pid, istat, options, (struct rusage *)0)); }