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(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 LOCKING in libproc(3LIB).
May 11, 2016 | OmniOS |