Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PZONENAME(3PROC)       Process Control Library Functions      PZONENAME(3PROC)
   2 
   3 NAME
   4      Pzonename, Pzoneroot, Pzonepath - get zone name, root, and full object
   5      path
   6 
   7 SYNOPSIS
   8      Process Control Library (libproc, -lproc)


   9      #include <libproc.h>
  10 
  11      char *
  12      Pzonename(struct ps_prochandle *P, char *buf, size_t nbyte);
  13 
  14      char *
  15      Pzoneroot(struct ps_prochandle *P, char *buf, size_t nbyte);
  16 
  17      char *
  18      Pzonepath(struct ps_prochandle *P, const char *path, char *buf,
  19          size_t nbyte);
  20 
  21 DESCRIPTION
  22      The Pzonename() function attempts to determine the name of the zone for
  23      the process handle P.  If found, up to nbytes, including a null
  24      terminator, will be written into buf.
  25 
  26      The Pzoneroot() function attempts to determine the root of the zone
  27      corresponding to the process handle P.  If found, up to nbytes, including
  28      a null terminator, will be written into buf.  If the root cannot be


   1 PZONENAME(3PROC)       Process Control Library Functions      PZONENAME(3PROC)
   2 
   3 NAME
   4      Pzonename, Pzoneroot, Pzonepath - get zone name, root, and full object
   5      path
   6 
   7 LIBRARY
   8      Process Control Library (libproc, -lproc)
   9 
  10 SYNOPSIS
  11      #include <libproc.h>
  12 
  13      char *
  14      Pzonename(struct ps_prochandle *P, char *buf, size_t nbyte);
  15 
  16      char *
  17      Pzoneroot(struct ps_prochandle *P, char *buf, size_t nbyte);
  18 
  19      char *
  20      Pzonepath(struct ps_prochandle *P, const char *path, char *buf,
  21          size_t nbyte);
  22 
  23 DESCRIPTION
  24      The Pzonename() function attempts to determine the name of the zone for
  25      the process handle P.  If found, up to nbytes, including a null
  26      terminator, will be written into buf.
  27 
  28      The Pzoneroot() function attempts to determine the root of the zone
  29      corresponding to the process handle P.  If found, up to nbytes, including
  30      a null terminator, will be written into buf.  If the root cannot be