ID Number: Q38293
5.10 6.00 6.00a
OS/2
Summary:
Page 556 of the "Microsoft C Optimizing Compiler User's Guide" for
version 5.1 states that to obtain the exit code for an asynchronous
spawned process, you must call the wait() or cwait() function and
specify the process ID.
More Information:
Wait(), cwait(), and asynchronous spawns can occur only in OS/2.
The wait() function suspends the calling process until any of the
caller's immediate child processes terminate. If all of the caller's
child processes have terminated before it calls the wait function, the
function returns immediately.
The cwait() function suspends the calling process until the specified
child process terminates.
For more information, refer to the version 5.1 "Microsoft C Optimizing
Compiler User's Guide," Update pages 30 and 48. In Microsoft C 6.0,
refer to the QuickHelp on wait() and cwait().
Additional reference words: 5.10 6.00 6.00a