1 PSTATE(3PROC) Process Control Library Functions PSTATE(3PROC) 2 3 NAME 4 Pstate - obtain process handle state 5 6 LIBRARY 7 Process Control Library (libproc, -lproc) 8 9 SYNOPSIS 10 #include <libproc.h> 11 12 int 13 Pstate(struct ps_prochandle *P); 14 15 DESCRIPTION 16 The Pstate() function returns the state of the process handle P. The 17 list of states is available in the PROCESS STATES section in 18 libproc(3LIB). 19 20 RETURN VALUES 21 Upon successful completion, the current state is returned. 22 23 INTERFACE STABILITY 24 Uncommitted 25 26 MT-LEVEL 27 See LOCKING in libproc(3LIB). 28 29 SEE ALSO 30 libproc(3LIB) 31 32 illumos May 11, 2016 illumos