1 PSETSIGNAL(3PROC) Process Control Library Functions PSETSIGNAL(3PROC)
2
3 NAME
4 Psetsignal - set signal tracing flags
5
6 SYNOPSIS
7 Process Control Library (libproc, -lproc)
8 #include <libproc.h>
9
10 void
11 Psetsignal(struct ps_prochandle *P, const sigset_t *set);
12
13 DESCRIPTION
14 The Psetsignal() function sets the signal tracing flags for the process
15 handle P to set. The call to Psetsignal() replaces any existing signal
16 tracing flags entirely with set. The signal tracing flags determine
17 which signals, when received by a thread in the process, will cause that
18 thread to stop. For more information on the behavior of the signal
19 tracing flags, including which signals may be traced this way, see the
20 PCSTRACE section in proc(4).
21
22 The set argument may be manipulated with the standard signal set
23 manipulation functions such as sigaddset(3C), sigdelset(3C), and others
24 which may all be found in sigsetops(3C).
25
26 Note, only active processes may have their signal tracing flags updated.
27 Process handles that refer to core files, zombie processes, and files do
|
1 PSETSIGNAL(3PROC) Process Control Library Functions PSETSIGNAL(3PROC)
2
3 NAME
4 Psetsignal - set signal tracing flags
5
6 LIBRARY
7 Process Control Library (libproc, -lproc)
8
9 SYNOPSIS
10 #include <libproc.h>
11
12 void
13 Psetsignal(struct ps_prochandle *P, const sigset_t *set);
14
15 DESCRIPTION
16 The Psetsignal() function sets the signal tracing flags for the process
17 handle P to set. The call to Psetsignal() replaces any existing signal
18 tracing flags entirely with set. The signal tracing flags determine
19 which signals, when received by a thread in the process, will cause that
20 thread to stop. For more information on the behavior of the signal
21 tracing flags, including which signals may be traced this way, see the
22 PCSTRACE section in proc(4).
23
24 The set argument may be manipulated with the standard signal set
25 manipulation functions such as sigaddset(3C), sigdelset(3C), and others
26 which may all be found in sigsetops(3C).
27
28 Note, only active processes may have their signal tracing flags updated.
29 Process handles that refer to core files, zombie processes, and files do
|