Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PCLEARFAULT(3PROC)     Process Control Library Functions    PCLEARFAULT(3PROC)
   2 
   3 NAME
   4      Pclearfault, Lclearfault - clear process and thread faults
   5 
   6 SYNOPSIS
   7      Process Control Library (libproc, -lproc)


   8      #include <libproc.h>
   9 
  10      int
  11      Pclearfault(struct ps_prochandle *P);
  12 
  13      int
  14      Lclearfault(struct ps_lwphandle *L);
  15 
  16 DESCRIPTION
  17      During normal operation a process may encounter a fault, due to a
  18      hardware exception, identifying a problem with the running process.
  19      Hardware faults include things like executing illegal instructions,
  20      encountering a breakpoint, and arithmetic exceptions.  Faults are
  21      discussed further in proc(4).
  22 
  23      The Pclearfault() function instructs the system to clear any fault
  24      pending delivery to a thread in the process represented by the process
  25      handle P.  The pending fault will never be delivered to process
  26      represented by P.
  27 


   1 PCLEARFAULT(3PROC)     Process Control Library Functions    PCLEARFAULT(3PROC)
   2 
   3 NAME
   4      Pclearfault, Lclearfault - clear process and thread faults
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      int
  13      Pclearfault(struct ps_prochandle *P);
  14 
  15      int
  16      Lclearfault(struct ps_lwphandle *L);
  17 
  18 DESCRIPTION
  19      During normal operation a process may encounter a fault, due to a
  20      hardware exception, identifying a problem with the running process.
  21      Hardware faults include things like executing illegal instructions,
  22      encountering a breakpoint, and arithmetic exceptions.  Faults are
  23      discussed further in proc(4).
  24 
  25      The Pclearfault() function instructs the system to clear any fault
  26      pending delivery to a thread in the process represented by the process
  27      handle P.  The pending fault will never be delivered to process
  28      represented by P.
  29