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/Pcontent.3proc.man.txt
+++ new/usr/src/man/man3proc/Pcontent.3proc.man.txt
1 1 PCONTENT(3PROC) Process Control Library Functions PCONTENT(3PROC)
2 2
3 3 NAME
4 4 Pconent - obtain process content types available
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 core_content_t
11 13 Pcontent(struct ps_prochandle *P);
12 14
13 15 DESCRIPTION
14 16 The Pcontent() function describes information available from the process
15 17 handle P.
16 18
17 19 Different types of process handles have different kinds of content
18 20 available to them. For example, handles to active and running processes
19 21 have more information available than various core files, as the core file
20 22 retains a subset of information available in the running process.
21 23 Handles that refer to ELF objects, obtained through Pgrab_file(3PROC),
22 24 will not have information such as a stack available. The content of core
23 25 files is controlled by coreadm(1M).
24 26
25 27 The symbols that may be returned are listed in the core_content_t heading
26 28 in the TYPES section in libproc(3LIB).
27 29
28 30 RETURN VALUES
29 31 Upon successful completion, the Pcontent() function returns the bitwise-
30 32 inclusive-OR of content types. Otherwise, CC_CONTENT_INVALID is returned
31 33 to indicate an error.
32 34
33 35 INTERFACE STABILITY
34 36 Uncommitted
35 37
36 38 MT-LEVEL
37 39 See LOCKING in libproc(3LIB).
38 40
39 41 SEE ALSO
40 42 libproc(3LIB), Pcreate(3PROC), Pgrab(3PROC), Pgrab_core(3PROC),
41 43 Pgrab_file(3PROC), proc(4)
42 44
43 45 illumos May 11, 2016 illumos
↓ open down ↓ |
26 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX