Print this page
12743 man page spelling mistakes
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man3proc/Pclearsig.3proc.man.txt
+++ new/usr/src/man/man3proc/Pclearsig.3proc.man.txt
1 1 PCLEARSIG(3PROC) Process Control Library Functions PCLEARSIG(3PROC)
2 2
3 3 NAME
4 4 Pclearsig, Lclearsig - clear process signals
5 5
6 6 LIBRARY
7 7 Process Control Library (libproc, -lproc)
8 8
9 9 SYNOPSIS
10 10 #include <libproc.h>
11 11
12 12 int
13 13 Pclearsig(struct ps_prochandle *P);
14 14
15 15 int
16 16 Lclearsig(struct ps_lwphandle *L);
17 17
18 18 DESCRIPTION
19 19 During normal operation a process may receive a signal. Signals may
↓ open down ↓ |
19 lines elided |
↑ open up ↑ |
20 20 indicate an error, for example referencing unmapped memory, an alarm
21 21 firing, requests for information, and users requesting an interruption.
22 22 For more information on the generation and usage of signals, see
23 23 signal.h(3HEAD).
24 24
25 25 The Pclearsig() function instructs the system to clear any signal pending
26 26 delivery to a thread in the process represented by the process handle P.
27 27 The pending signal will never be delivered to process represented by P.
28 28
29 29 The Lclearsig() function is identical to the Pclearsig() function, except
30 - rather than operating on the process and its representive thread, it
30 + rather than operating on the process and its representative thread, it
31 31 instead operates on the thread handle L.
32 32
33 33 The Pclearsig() function only has meaning for active processes. It will
34 34 fail on process handles corresponding to core files, zombie processes and
35 35 ELF objects.
36 36
37 37 RETURN VALUES
38 38 Upon successful completion, the Pclearsig() function clears pending
39 39 faults and returns 0. Otherwise, -1 is returned, errno is set to
40 40 indicate the error, and no faults are cleared.
41 41
42 42 ERRORS
43 43 For a full list of possible errors see the DIAGNOSTICS section in
44 44 proc(4).
↓ open down ↓ |
4 lines elided |
↑ open up ↑ |
45 45
46 46 INTERFACE STABILITY
47 47 Uncommitted
48 48
49 49 MT-LEVEL
50 50 See LOCKING in libproc(3LIB).
51 51
52 52 SEE ALSO
53 53 signal.h(3HEAD), libproc(3LIB), proc(4)
54 54
55 -illumos May 11, 2016 illumos
55 +illumos May 16, 2020 illumos
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX