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

NAME


Pstate - obtain process handle state

LIBRARY


Process Control Library (libproc, -lproc)

SYNOPSIS


#include <libproc.h>

int
Pstate(struct ps_prochandle *P);

DESCRIPTION


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).

RETURN VALUES


Upon successful completion, the current state is returned.

INTERFACE STABILITY


Uncommitted

MT-LEVEL
See LOCKING in libproc(3LIB).

SEE ALSO


libproc(3LIB)

illumos May 11, 2016 illumos

tribblix@gmail.com :: GitHub :: Privacy