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/Psetfault.3proc.man.txt
+++ new/usr/src/man/man3proc/Psetfault.3proc.man.txt
1 1 PSETFAULT(3PROC) Process Control Library Functions PSETFAULT(3PROC)
2 2
3 3 NAME
4 4 Psetfault - set fault 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 Psetfault(struct ps_prochandle *P, const fltset_t *set);
12 14
13 15 DESCRIPTION
14 16 The Psetfault() function sets the fault tracing flags on the process
15 17 handle P to set. It replaces any existing fault tracing flags on the
16 18 process. These flags indicate which faults cause execution of the thread
17 19 to stop. Allowing another tool, such as a debugger, to act upon the
18 20 process. For more information on faults and the fltset_t structure see
19 21 the PCSFAULT section in proc(4). The current fault set for the process
20 22 may be obtained through the Pfault(3PROC) function.
21 23
22 24 Note, only active processes may have their fault set updated. Process
23 25 handles that refer to core files, zombie processes, and files do not have
24 26 fault tracing flags and this function is a no-op on them.
25 27
26 28 INTERFACE STABILITY
27 29 Uncommitted
28 30
29 31 MT-LEVEL
30 32 See LOCKING in libproc(3LIB).
31 33
32 34 SEE ALSO
33 35 libproc(3LIB), Pfault(3PROC), proc(4)
34 36
35 37 illumos May 11, 2016 illumos
↓ open down ↓ |
18 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX