int kwait3(
kstatus *status,
int options,
kaddr rusage)
INPUT
options - options used for wait3 (WUNTRACED, WNOHANG)
OUTPUT
status - the return status of the process
rusage - the resource usage (for systems that do not
have a wait3 call, this output is not set.)
RETURN VALUE
the status of the process.
DESCRIPTION
This return emulates the bsd wait3() command.
The wait3 process waits until any child has
completed, without hanging (WNOHANG). It
should be called rather than the system wait3,
because not all systems include a wait3 call.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
Restrictions on data or input as applicable
MODIFICATION
Converted from vwait3 in Khoros 1.0 (SJ)
FILES
$BOOTSTRAP/objects/library/kutils/src/kprocess.c
SEE ALSO
kutils(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.