table of contents
| MBKWAITPID(3) | MBK UTILITY FUNCTIONS | MBKWAITPID(3) |
NAME¶
mbkwaitpid - wait for the end of a particular child process.
ORIGIN¶
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS¶
#include "mut.h" int mbkwaitpid( pid, mode, status ) int pid; int mode; int ∗status;
PARAMETER¶
DESCRIPTION¶
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.
RETURN VALUE¶
mbkwaitpid return 1 if child process is terminated, and 0 if isn't (case mode != 1 ).
SEE ALSO¶
mbk(1), mbksetautoackchld().
BUG REPORT¶
This tool is under development at the ASIM department of
the LIP6 laboratory.
We need your feedback to improve documentation and tools.
| November 20, 2000 | ASIM/LIP6 |