PSTATUS(3PROC) | Process Control Library Functions | PSTATUS(3PROC) |
Pstatus
—
#include <libproc.h>
const pstatus_t *
Pstatus
(struct ps_prochandle
*P);
Pstatus
() function returns the status information
about the process handle P. The
pstatus_t structure is defined in
proc(5) and contains information about the
process including its flags, the number of threads, the size of the stack, and
more.
The returned pointer is only valid as long as the process handle P is valid. After a call to Prelease(3PROC), the returned data pointer is invalid.
Pstatus
() function always returns a pointer to the
process's status.
May 11, 2016 | OmniOS |