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

Pstateobtain process handle state

Process Control Library (libproc, -lproc)

#include <libproc.h>

int
Pstate(struct ps_prochandle *P);

The () function returns the state of the process handle P. The list of states is available in the section in libproc(3LIB).

Upon successful completion, the current state is returned.

See in libproc(3LIB).

libproc(3LIB)

May 11, 2016 OmniOS