BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kwait3 - replacement for the system wait3()

LIBRARY CALL

int kwait3(
   kstatus *status,
   int     options,
   kaddr   rusage)

INPUT

OUTPUT

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.