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
  28      libproc(3LIB)
  29 
  30 illumos                          May 11, 2016                          illumos
--- EOF ---