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

Psetsignalset signal tracing flags

Process Control Library (libproc, -lproc)

#include <libproc.h>

Psetsignal(struct ps_prochandle *P, const sigset_t *set);

The () function sets the signal tracing flags for the process handle P to set. The call to Psetsignal() replaces any existing signal tracing flags entirely with set. The signal tracing flags determine which signals, when received by a thread in the process, will cause that thread to stop. For more information on the behavior of the signal tracing flags, including which signals may be traced this way, see the section in proc(5).

The set argument may be manipulated with the standard signal set manipulation functions such as sigaddset(3C), sigdelset(3C), and others which may all be found in sigsetops(3C).

Note, only active processes may have their signal tracing flags 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).

sigsetops(3C), signal.h(3HEAD), libproc(3LIB), Psignal(3PROC), proc(5)

May 11, 2016 OmniOS