Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3proc/Pgetenv.3proc.man.txt
          +++ new/usr/src/man/man3proc/Pgetenv.3proc.man.txt
   1    1  PGETENV(3PROC)         Process Control Library Functions        PGETENV(3PROC)
   2    2  
   3    3  NAME
   4    4       Pgetenv - get process environment variable
   5    5  
   6      -SYNOPSIS
        6 +LIBRARY
   7    7       Process Control Library (libproc, -lproc)
        8 +
        9 +SYNOPSIS
   8   10       #include <libproc.h>
   9   11  
  10   12       char *
  11   13       Pgetenv(struct ps_prochandle *P, const char *name, char *buf,
  12   14           size_t buflen);
  13   15  
  14   16  DESCRIPTION
  15   17       The Pgetenv function searches the environment of the process handle P for
  16   18       the environment variable named name.  If found it copies up to buflen
  17   19       characters of the value, including the null terminator, into the buffer
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX