PSTATE(3PROC) | Process Control Library Functions | PSTATE(3PROC) |
Pstate
— obtain
process handle state
Process Control Library (libproc, -lproc)
#include
<libproc.h>
int
Pstate
(struct ps_prochandle
*P);
The
Pstate
()
function returns the state of the process handle P.
The list of states is available in the
PROCESS
STATES section in
libproc(3LIB).
Upon successful completion, the current state is returned.
See LOCKING in libproc(3LIB).
May 11, 2016 | OmniOS |