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


   8      #include <libproc.h>
   9 
  10      void
  11      Psetfault(struct ps_prochandle *P, const fltset_t *set);
  12 
  13 DESCRIPTION
  14      The Psetfault() function sets the fault tracing flags on the process
  15      handle P to set.  It replaces any existing fault tracing flags on the
  16      process.  These flags indicate which faults cause execution of the thread
  17      to stop.  Allowing another tool, such as a debugger, to act upon the
  18      process.  For more information on faults and the fltset_t structure see
  19      the PCSFAULT section in proc(4).  The current fault set for the process
  20      may be obtained through the Pfault(3PROC) function.
  21 
  22      Note, only active processes may have their fault set updated.  Process
  23      handles that refer to core files, zombie processes, and files do not have
  24      fault tracing flags and this function is a no-op on them.
  25 
  26 INTERFACE STABILITY
  27      Uncommitted
   1 PSETFAULT(3PROC)       Process Control Library Functions      PSETFAULT(3PROC)
   2 
   3 NAME
   4      Psetfault - set fault tracing flags
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      void
  13      Psetfault(struct ps_prochandle *P, const fltset_t *set);
  14 
  15 DESCRIPTION
  16      The Psetfault() function sets the fault tracing flags on the process
  17      handle P to set.  It replaces any existing fault tracing flags on the
  18      process.  These flags indicate which faults cause execution of the thread
  19      to stop.  Allowing another tool, such as a debugger, to act upon the
  20      process.  For more information on faults and the fltset_t structure see
  21      the PCSFAULT section in proc(4).  The current fault set for the process
  22      may be obtained through the Pfault(3PROC) function.
  23 
  24      Note, only active processes may have their fault set updated.  Process
  25      handles that refer to core files, zombie processes, and files do not have
  26      fault tracing flags and this function is a no-op on them.
  27 
  28 INTERFACE STABILITY
  29      Uncommitted