PSETFAULT(3PROC) Process Control Library Functions PSETFAULT(3PROC)
- set fault tracing flags
Process Control Library (libproc, -lproc)
SYNOPSIS #include <libproc.h> void Psetfault
(struct ps_prochandle *P
, const fltset_t *set
() function sets the fault tracing flags on the process handle P
. It replaces any existing fault tracing flags on the process.
These flags indicate which faults cause execution of the thread to stop.
Allowing another tool, such as a debugger, to act upon the process. For
more information on faults and the fltset_t
structure see the PCSFAULT
section in proc(4)
. The current fault set for the process may be obtained
through the Pfault(3PROC)
Note, only active processes may have their fault set updated. Process
handles that refer to core files, zombie processes, and files do not have
fault tracing flags and this function is a no-op on them.
INTERFACE STABILITY UncommittedMT-LEVEL
SEE ALSO libproc(3LIB)
illumos May 11, 2016 illumos