PCONTENT(3PROC) Process Control Library Functions PCONTENT(3PROC)

Pcontentobtain process content types available

Process Control Library (libproc, -lproc)

#include <libproc.h>

Pcontent(struct ps_prochandle *P);

The () function describes information available from the process handle P.

Different types of process handles have different kinds of content available to them. For example, handles to active and running processes have more information available than various core files, as the core file retains a subset of information available in the running process. Handles that refer to ELF objects, obtained through Pgrab_file(3PROC), will not have information such as a stack available. The content of core files is controlled by coreadm(8).

The symbols that may be returned are listed in the heading in the section in libproc(3LIB).

Upon successful completion, the Pcontent() function returns the bitwise-inclusive-OR of content types. Otherwise, CC_CONTENT_INVALID is returned to indicate an error.

See in libproc(3LIB).

libproc(3LIB), Pcreate(3PROC), Pgrab(3PROC), Pgrab_core(3PROC), Pgrab_file(3PROC), proc(5)

November 8, 2020 OmniOS