2 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
7 .\" A full copy of the text of the CDDL should have accompanied this
8 .\" source. A copy of the CDDL is also available via the Internet at
9 .\" http://www.illumos.org/license/CDDL.
12 .\" Copyright 2015 Joyent, Inc.
20 .Nd clear process signals
26 .Fa "struct ps_prochandle *P"
30 .Fa "struct ps_lwphandle *L"
33 During normal operation a process may receive a signal.
34 Signals may indicate an error, for example referencing unmapped memory, an alarm
35 firing, requests for information, and users requesting an interruption.
36 For more information on the generation and usage of signals, see
41 function instructs the system to clear any signal pending delivery to
42 a thread in the process represented by the process handle
44 The pending signal will never be delivered to process represented by
49 function is identical to the
51 function, except rather than operating on the process and its
52 representive thread, it instead operates on the thread handle
57 function only has meaning for active processes.
58 It will fail on process handles corresponding to core files, zombie processes
61 Upon successful completion, the
63 function clears pending faults and
70 is set to indicate the error,
71 and no faults are cleared.
73 For a full list of possible errors see the
77 .Sh INTERFACE STABILITY