xref: /csrg-svn/lib/libc/gen/wait3.c (revision 46597)
136270Sbostic /*
236270Sbostic  * Copyright (c) 1988 The Regents of the University of California.
336270Sbostic  * All rights reserved.
436270Sbostic  *
542628Sbostic  * %sccs.include.redist.c%
636270Sbostic  */
736270Sbostic 
836270Sbostic #if defined(LIBC_SCCS) && !defined(lint)
9*46597Sdonn static char sccsid[] = "@(#)wait3.c	5.6 (Berkeley) 02/23/91";
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 
1745435Sbostic pid_t
18*46597Sdonn wait3(istat, options, rup)
19*46597Sdonn 	int *istat;
2036270Sbostic 	int options;
2136270Sbostic 	struct rusage *rup;
2236270Sbostic {
23*46597Sdonn 	return (wait4(WAIT_ANY, istat, options, rup));
2436270Sbostic }
25