PSETSIGNAL(3PROC) Process Control Library Functions PSETSIGNAL(3PROC)
NAME
Psetsignal - set signal tracing flags
LIBRARY
Process Control Library (libproc, -lproc)
SYNOPSIS
#include <libproc.h> void Psetsignal(
struct ps_prochandle *P,
const sigset_t *set);
DESCRIPTION
The
Psetsignal() 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
PCSTRACE 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.
INTERFACE STABILITY
UncommittedMT-LEVEL See
LOCKING in
libproc(3LIB).
SEE ALSO
sigsetops(3C),
signal.h(3HEAD),
libproc(3LIB),
Psignal(3PROC),
proc(5)illumos May 11, 2016 illumos