PSETFAULT(3PROC) Process Control Library Functions PSETFAULT(3PROC)

Psetfaultset fault tracing flags

Process Control Library (libproc, -lproc)

#include <libproc.h>

Psetfault(struct ps_prochandle *P, const fltset_t *set);

The () function sets the fault tracing flags on the process handle P to set. 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 structure see the section in proc(5). The current fault set for the process may be obtained through the Pfault(3PROC) function.

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.

See in libproc(3LIB).

libproc(3LIB), Pfault(3PROC), proc(5)

May 11, 2016 OmniOS