Print this page
10229 Some man pages have incorrect cross-references
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man3proc/Psignal.3proc.man.txt
+++ new/usr/src/man/man3proc/Psignal.3proc.man.txt
1 1 PSIGNAL(3PROC) Process Control Library Functions PSIGNAL(3PROC)
2 2
3 3 NAME
4 4 Psignal - set signal tracing action
5 5
6 6 LIBRARY
7 7 Process Control Library (libproc, -lproc)
8 8
9 9 SYNOPSIS
10 10 #include <libproc.h>
11 11
↓ open down ↓ |
11 lines elided |
↑ open up ↑ |
12 12 int
13 13 Psignal(struct ps_prochandle *P, int which, int stop);
14 14
15 15 DESCRIPTION
16 16 The Psignal() function sets the signal tracing flag for the process
17 17 handle P. If stop is non-zero it causes the process handle to stop
18 18 threads that encounter the signal which. If stop is zero, then it
19 19 disables tracing for the signal which.
20 20
21 21 The signal constants, representing valid values for which, can be found
22 - in signal.h(3HEAD.) The signal SIGKILL may not be stopped.
22 + in signal.h(3HEAD). The signal SIGKILL may not be stopped.
23 23
24 24 Note, only active processes may have their signal tracing flags updated.
25 25 Process handles that refer to core files, zombie processes, and files do
26 26 not have signal tracing flags. Calling this function on them is an
27 27 error.
28 28
29 29 RETURN VALUES
30 30 Upon successful completion, the Psignal() function returns the previous
31 31 disposition of the signal which. It returns 1 if it was set and 0 if
32 32 not. Otherwise, -1 is returned and errno is set to indicate the error.
33 33
34 34 ERRORS
35 35 The Psignal() function will fail if:
36 36
37 37 EINVAL which is SIGKILL and stop is non-zero .
38 38
39 39 which is not a valid signal.
40 40
41 41 ENOENT P does not correspond to an active process.
42 42
43 43 INTERFACE STABILITY
44 44 Uncommitted
45 45
46 46 MT-LEVEL
47 47 See LOCKING in libproc(3LIB).
48 48
49 49 SEE ALSO
50 50 signal.h(3HEAD), libproc(3LIB), Psetsignal(3PROC), proc(4)
51 51
52 52 illumos May 11, 2016 illumos
↓ open down ↓ |
20 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX