MBKWAITPID(3) | MBK UTILITY FUNCTIONS | MBKWAITPID(3) |
mbkwaitpid - wait for the end of a particular child process.
See the file buster/alliance/alc_origin.1.en.gz.
#include "mut.h" int mbkwaitpid( pid, mode, status ) int pid; int mode; int ∗status;
mbkwaitpid provides a centralized way to catch terminated child process. Because some Alliance library can create a child process, and user application can do so, there must be a centralized way to get the exit status of process. The programmer should never modify the handler for SIGCHLD.
mbkwaitpid return 1 if child process is terminated, and 0 if isn't (case mode != 1 ).
mbk(1), mbksetautoackchld().
See the file buster/alliance/alc_bug_report.1.en.gz.
November 20, 2000 | ASIM/LIP6 |