Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PSTATE(3PROC)          Process Control Library Functions         PSTATE(3PROC)
   2 
   3 NAME
   4      Pstate - obtain process handle state
   5 
   6 SYNOPSIS
   7      Process Control Library (libproc, -lproc)


   8      #include <libproc.h>
   9 
  10      int
  11      Pstate(struct ps_prochandle *P);
  12 
  13 DESCRIPTION
  14      The Pstate() function returns the state of the process handle P.  The
  15      list of states is available in the PROCESS STATES section in
  16      libproc(3LIB).
  17 
  18 RETURN VALUES
  19      Upon successful completion, the current state is returned.
  20 
  21 INTERFACE STABILITY
  22      Uncommitted
  23 
  24 MT-LEVEL
  25      See LOCKING in libproc(3LIB).
  26 
  27 SEE ALSO
   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