136269Sbostic /* 236269Sbostic * Copyright (c) 1988 The Regents of the University of California. 336269Sbostic * All rights reserved. 436269Sbostic * 5*42628Sbostic * %sccs.include.redist.c% 636269Sbostic */ 736269Sbostic 836269Sbostic #if defined(LIBC_SCCS) && !defined(lint) 9*42628Sbostic static char sccsid[] = "@(#)wait.c 5.2 (Berkeley) 06/01/90"; 1036269Sbostic #endif /* LIBC_SCCS and not lint */ 1136269Sbostic 1236269Sbostic #include <sys/types.h> 1336269Sbostic #include <sys/time.h> 1436269Sbostic #include <sys/wait.h> 1536269Sbostic #include <sys/resource.h> 1636269Sbostic 1736269Sbostic wait(pstat) 1836269Sbostic union wait *pstat; 1936269Sbostic { 2036269Sbostic 2136269Sbostic return (wait4(WAIT_ANY, pstat, 0, (struct rusage *)0)); 2236269Sbostic } 23