1 PSETSIGNAL(3PROC)      Process Control Library Functions     PSETSIGNAL(3PROC)
   2 
   3 NAME
   4      Psetsignal - set signal tracing flags
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      void
  13      Psetsignal(struct ps_prochandle *P, const sigset_t *set);
  14 
  15 DESCRIPTION
  16      The Psetsignal() function sets the signal tracing flags for the process
  17      handle P to set.  The call to Psetsignal() replaces any existing signal
  18      tracing flags entirely with set.  The signal tracing flags determine
  19      which signals, when received by a thread in the process, will cause that
  20      thread to stop.  For more information on the behavior of the signal
  21      tracing flags, including which signals may be traced this way, see the
  22      PCSTRACE section in proc(4).
  23 
  24      The set argument may be manipulated with the standard signal set
  25      manipulation functions such as sigaddset(3C), sigdelset(3C), and others
  26      which may all be found in sigsetops(3C).
  27 
  28      Note, only active processes may have their signal tracing flags updated.
  29      Process handles that refer to core files, zombie processes, and files do
  30      not have fault tracing flags and this function is a no-op on them.
  31 
  32 INTERFACE STABILITY
  33      Uncommitted
  34 
  35 MT-LEVEL
  36      See LOCKING in libproc(3LIB).
  37 
  38 SEE ALSO
  39      sigsetops(3C), signal.h(3HEAD), libproc(3LIB), Psignal(3PROC), proc(4)
  40 
  41 illumos                          May 11, 2016                          illumos