xref: /csrg-svn/lib/libc/gen/wait3.c (revision 42628)
136270Sbostic /*
236270Sbostic  * Copyright (c) 1988 The Regents of the University of California.
336270Sbostic  * All rights reserved.
436270Sbostic  *
5*42628Sbostic  * %sccs.include.redist.c%
636270Sbostic  */
736270Sbostic 
836270Sbostic #if defined(LIBC_SCCS) && !defined(lint)
9*42628Sbostic static char sccsid[] = "@(#)wait3.c	5.4 (Berkeley) 06/01/90";
1036270Sbostic #endif /* LIBC_SCCS and not lint */
1136270Sbostic 
1236270Sbostic #include <sys/types.h>
1336270Sbostic #include <sys/time.h>
1436270Sbostic #include <sys/wait.h>
1536270Sbostic #include <sys/resource.h>
1636270Sbostic 
1736270Sbostic wait3(pstat, options, rup)
1836270Sbostic 	union wait *pstat;
1936270Sbostic 	int options;
2036270Sbostic 	struct rusage *rup;
2136270Sbostic {
2236270Sbostic 
2338428Skarels 	return (wait4(WAIT_ANY, pstat, options, rup));
2436270Sbostic }
25