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

Ppsinfoget process ps information

Process Control Library (libproc, -lproc)

#include <libproc.h>

const psinfo_t *
Ppsinfo(struct ps_prochandle *P);

The () function returns the process handle P's ps(1) information. The structure that is returned is defined in proc(5) 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.

See in libproc(3LIB).

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

May 11, 2016 OmniOS