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

NAME


Ppsinfo - get process ps information

LIBRARY


Process Control Library (libproc, -lproc)

SYNOPSIS


#include <libproc.h>

const psinfo_t *
Ppsinfo(struct ps_prochandle *P);

DESCRIPTION


The Ppsinfo() function returns the process handle P's ps(1) information.
The psinfo_t structure that is returned is defined in proc(4) and is valid
until a subsequent call to Prelease(3PROC).

RETURN VALUES


Upon successful completion, the Ppsinfo() function returns a pointer to the
process ps information. Otherwise, NULL is returned to indicate that it
could not be found.

INTERFACE STABILITY


Uncommitted

MT-LEVEL
See LOCKING in libproc(3LIB).

SEE ALSO


ps(1), libproc(3LIB), Prelease(3PROC), proc(4)

illumos May 11, 2016 illumos