Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PSIGNAL(3PROC)         Process Control Library Functions        PSIGNAL(3PROC)
   2 
   3 NAME
   4      Psignal - set signal tracing action
   5 
   6 SYNOPSIS
   7      Process Control Library (libproc, -lproc)


   8      #include <libproc.h>
   9 
  10      int
  11      Psignal(struct ps_prochandle *P, int which, int stop);
  12 
  13 DESCRIPTION
  14      The Psignal() function sets the signal tracing flag for the process
  15      handle P.  If stop is non-zero it causes the process handle to stop
  16      threads that encounter the signal which.  If stop is zero, then it
  17      disables tracing for the signal which.
  18 
  19      The signal constants, representing valid values for which, can be found
  20      in signal.h(3HEAD.) The signal SIGKILL may not be stopped.
  21 
  22      Note, only active processes may have their signal tracing flags updated.
  23      Process handles that refer to core files, zombie processes, and files do
  24      not have signal tracing flags.  Calling this function on them is an
  25      error.
  26 
  27 RETURN VALUES


   1 PSIGNAL(3PROC)         Process Control Library Functions        PSIGNAL(3PROC)
   2 
   3 NAME
   4      Psignal - set signal tracing action
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      int
  13      Psignal(struct ps_prochandle *P, int which, int stop);
  14 
  15 DESCRIPTION
  16      The Psignal() function sets the signal tracing flag for the process
  17      handle P.  If stop is non-zero it causes the process handle to stop
  18      threads that encounter the signal which.  If stop is zero, then it
  19      disables tracing for the signal which.
  20 
  21      The signal constants, representing valid values for which, can be found
  22      in signal.h(3HEAD.) The signal SIGKILL may not be stopped.
  23 
  24      Note, only active processes may have their signal tracing flags updated.
  25      Process handles that refer to core files, zombie processes, and files do
  26      not have signal tracing flags.  Calling this function on them is an
  27      error.
  28 
  29 RETURN VALUES