GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DtTermSubprocReap(library call) DtTermSubprocReap(library call)

DtTermSubprocReap — allow a DtTerm widget to clean up after subprocess termination

#include &<Dt/Term.h>
void DtTermSubprocReap(
pid_t pid,
int *stat_loc);

The 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.

The DtTermSubprocReap function returns no value.

The 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 DtSubprocessTerminatorCatch 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.

Dt/Term.h - DtTerm(5), DtTerm(3), signal(5), wait(2).


Search for    or go to Top of page |  Section l |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.