Query: dttermsubprocreap
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DtTermSubprocReap(library call) DtTermSubprocReap(library call)NAMEDtTermSubprocReap -- allow a DtTerm widget to clean up after subprocess terminationSYNOPSIS#include <Dt/Term.h> void DtTermSubprocReap( pid_t pid, int *stat_loc);DESCRIPTIONThe DtTermSubprocReap function allows DtTerm widgets to function correctly in applications that have installed a SIGCHLD signal handler. The pid argument specifies the process ID of the child process wait(2) returns. The stat_loc argument specifies the termination information wait(2) returns.RETURN VALUESThe DtTermSubprocReap function returns no value.APPLICATION USAGEThe DtTermSubprocReap function allows an application to install its own SIGCHLD signal handler. The application must install its own SIGCHILD signal handler and call DtTermSubprocReap if the DtTerm widget was created with the DtSubpro- cessTerminatorCatch resource set to False. The application must call the DtTermSubprocReap function after performing a wait(2) (or associated function) on a terminated child process. If the child process is associated with a DtTerm widget, the widget's data structures are cleaned up and the associated callbacks invoked.SEE ALSODt/Term.h - DtTerm(5), DtTerm(3), signal(5), wait(2). DtTermSubprocReap(library call)
Related Man Pages |
---|
wait(3c) - sunos |
wait4(2) - hpux |
waitpid(3c) - php |
waitpid(3c) - plan9 |
waitpid(3c) - minix |
Similar Topics in the Unix Linux Community |
---|
signal handler for SIGCHLD |
Signal Handling |
About SIGCHLD |
Who sent the process SIGCHLD ? |
problem in doing coding of signal handler |