1 PGETAUXVEC(3PROC)      Process Control Library Functions     PGETAUXVEC(3PROC)
   2 
   3 NAME
   4      Pgetauxvec - obtain process auxiliary vector
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      const auxv_t *
  13      Pgetauxvec(struct ps_prochandle *P);
  14 
  15 DESCRIPTION
  16      The Pgetauxvec() function returns a pointer to a copy of the auxiliary
  17      vector for the process handle P.  If the process handle does not
  18      represent an actively running process or the auxiliary vector could not
  19      be found, then it instead returns an empty auxiliary vector.  The
  20      definitions of the auxv_t may be found in <sys/auxv.h>.
  21 
  22      The returned auxiliary vector should not be used across any subsequent
  23      calls to libproc(3LIB).
  24 
  25 RETURN VALUES
  26      Upon successful completion, the Pgetauxvec() function always returns a
  27      pointer to an auxiliary vector.
  28 
  29 INTERFACE STABILITY
  30      Uncommitted
  31 
  32 MT-LEVEL
  33      See LOCKING in libproc(3LIB).
  34 
  35 SEE ALSO
  36      libproc(3LIB), Pgetauxval(3PROC), proc(4)
  37 
  38 illumos                          May 11, 2016                          illumos