|PSTATUS(3PROC)||Process Control Library Functions||PSTATUS(3PROC)|
Pstatus — obtain
process status structure
Process Control Library (libproc, -lproc)
const pstatus_t *
function returns the status information about the process handle
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|