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.
19 .Nd obtain process content types available
25 .Fa "struct ps_prochandle *P"
30 function describes information available from the process handle
33 Different types of process handles have different kinds of content
34 available to them. For example, handles to active and running processes
35 have more information available than various core files, as the core
36 file retains a subset of information available in the running process.
37 Handles that refer to ELF objects, obtained through
38 .Xr Pgrab_file 3PROC ,
39 will not have information such as a stack available. The content of
40 core files is controlled by
43 The symbols that may be returned are listed in the
50 Upon successful completion, the
52 function returns the bitwise-inclusive-OR of content types. Otherwise,
53 .Dv CC_CONTENT_INVALID
54 is returned to indicate an error.
55 .Sh INTERFACE STABILITY
66 .Xr Pgrab_core 3PROC ,
67 .Xr Pgrab_file 3PROC ,