Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man3proc/Psetsignal.3proc.man.txt
+++ new/usr/src/man/man3proc/Psetsignal.3proc.man.txt
1 1 PSETSIGNAL(3PROC) Process Control Library Functions PSETSIGNAL(3PROC)
2 2
3 3 NAME
4 4 Psetsignal - set signal tracing flags
5 5
6 -SYNOPSIS
6 +LIBRARY
7 7 Process Control Library (libproc, -lproc)
8 +
9 +SYNOPSIS
8 10 #include <libproc.h>
9 11
10 12 void
11 13 Psetsignal(struct ps_prochandle *P, const sigset_t *set);
12 14
13 15 DESCRIPTION
14 16 The Psetsignal() function sets the signal tracing flags for the process
15 17 handle P to set. The call to Psetsignal() replaces any existing signal
16 18 tracing flags entirely with set. The signal tracing flags determine
17 19 which signals, when received by a thread in the process, will cause that
18 20 thread to stop. For more information on the behavior of the signal
19 21 tracing flags, including which signals may be traced this way, see the
20 22 PCSTRACE section in proc(4).
21 23
22 24 The set argument may be manipulated with the standard signal set
23 25 manipulation functions such as sigaddset(3C), sigdelset(3C), and others
24 26 which may all be found in sigsetops(3C).
25 27
26 28 Note, only active processes may have their signal tracing flags updated.
27 29 Process handles that refer to core files, zombie processes, and files do
28 30 not have fault tracing flags and this function is a no-op on them.
29 31
30 32 INTERFACE STABILITY
31 33 Uncommitted
32 34
33 35 MT-LEVEL
34 36 See LOCKING in libproc(3LIB).
35 37
36 38 SEE ALSO
37 39 sigsetops(3C), signal.h(3HEAD), libproc(3LIB), Psignal(3PROC), proc(4)
38 40
39 41 illumos May 11, 2016 illumos
↓ open down ↓ |
22 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX