*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> DtTermSubprocReap (3)              


 DtTermSubprocReap(library call)             DtTermSubprocReap(library call)

 NAME    [Toc]    [Back]
      DtTermSubprocReap - allow a DtTerm widget to clean up after subprocess

 SYNOPSIS    [Toc]    [Back]
      #include <Dt/Term.h>
      void DtTermSubprocReap(
      pid_t pid,
      int *stat_loc);

 DESCRIPTION    [Toc]    [Back]
      The DtTermSubprocReap function allows DtTerm widgets to function
      correctly in applications that have installed a SIGCHLD signal

      The pid argument specifies the process ID of the child process wait(2)

      The stat_loc argument specifies the termination information wait(2)

 RETURN VALUES    [Toc]    [Back]
      The DtTermSubprocReap function returns no value.

 APPLICATION USAGE    [Toc]    [Back]
      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

 SEE ALSO    [Toc]    [Back]
      Dt/Term.h - DtTerm(5), DtTerm(3), signal(5), wait(2).

                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
DtTermSubprocSend HP-UX send data to a DtTerm widget's subprocess
dtterm HP-UX escape sequences recognized by dtterm and the DtTerm widget
DtCreateTerm HP-UX create a DtTerm widget
DtTerm HP-UX DtTerm widget class
DtTermInitialize HP-UX prevent accelerators from being installed on a DtTerm widget
exec IRIX Invoke subprocess(es)
VkForkWindow IRIX Window connected to a subprocess via VkForkIO
VkSubProcessRep IRIX Object-oriented interface to a running subprocess
DtTermDisplaySend HP-UX send data to a DtTerm widget's display
rcsclean OpenBSD clean up working files
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service