1 .\"
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
5 .\" 1.0 of the CDDL.
6 .\"
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.
10 .\"
11 .\"
12 .\" Copyright 2015 Joyent, Inc.
13 .\"
14 .Dd May 11, 2016
15 .Dt PCLEARFAULT 3PROC
16 .Os
17 .Sh NAME
18 .Nm Pclearfault ,
19 .Nm Lclearfault
20 .Nd clear process and thread faults
21 .Sh SYNOPSIS
22 .Lb libproc
23 .In libproc.h
24 .Ft int
25 .Fo Pclearfault
26 .Fa "struct ps_prochandle *P"
27 .Fc
28 .Ft int
29 .Fo Lclearfault
30 .Fa "struct ps_lwphandle *L"
31 .Fc
32 .Sh DESCRIPTION
33 During normal operation a process may encounter a
34 .Sy fault ,
35 due to a hardware exception, identifying a problem with the running process.
36 Hardware faults include things like executing illegal instructions, encountering
37 a breakpoint, and arithmetic exceptions.
38 Faults are discussed further in
39 .Xr proc 4 .
40 .Pp
41 The
42 .Fn Pclearfault
|
1 .\"
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
5 .\" 1.0 of the CDDL.
6 .\"
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.
10 .\"
11 .\"
12 .\" Copyright 2015 Joyent, Inc.
13 .\"
14 .Dd May 11, 2016
15 .Dt PCLEARFAULT 3PROC
16 .Os
17 .Sh NAME
18 .Nm Pclearfault ,
19 .Nm Lclearfault
20 .Nd clear process and thread faults
21 .Sh LIBRARY
22 .Lb libproc
23 .Sh SYNOPSIS
24 .In libproc.h
25 .Ft int
26 .Fo Pclearfault
27 .Fa "struct ps_prochandle *P"
28 .Fc
29 .Ft int
30 .Fo Lclearfault
31 .Fa "struct ps_lwphandle *L"
32 .Fc
33 .Sh DESCRIPTION
34 During normal operation a process may encounter a
35 .Sy fault ,
36 due to a hardware exception, identifying a problem with the running process.
37 Hardware faults include things like executing illegal instructions, encountering
38 a breakpoint, and arithmetic exceptions.
39 Faults are discussed further in
40 .Xr proc 4 .
41 .Pp
42 The
43 .Fn Pclearfault
|