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

Ppsinfo
get process ps information

Process Control Library (libproc, -lproc)

#include <libproc.h>
const psinfo_t *
Ppsinfo(struct ps_prochandle *P);

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).

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.

Uncommitted

See LOCKING in libproc(3LIB).

ps(1), libproc(3LIB), Prelease(3PROC), proc(4)
May 11, 2016 illumos