/* * Copyright (c) 1988 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 5.2 (Berkeley) 06/01/90"; #endif /* LIBC_SCCS and not lint */ #include #include #include #include waitpid(pid, pstat, options) int pid; union wait *pstat; int options; { return (wait4(pid, pstat, options, (struct rusage *)0)); }