1 PGETAUXVAL(3PROC)      Process Control Library Functions     PGETAUXVAL(3PROC)
   2 
   3 NAME
   4      Pgetauxval - obtain auxiliary vector value
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      int
  13      Pgetauxval(struct ps_prochandle *P, int type);
  14 
  15 DESCRIPTION
  16      The Pgetauxval() function looks up the entry type in the auxiliary vector
  17      of the process handle P and returns its value.  The type argument should
  18      be the entry of the auxiliary vector.  The list of such types may be
  19      found in <sys/auxv.h>.
  20 
  21 RETURN VALUES
  22      Upon successful completion, the Pgetauxval() function returns the value
  23      of the auxiliary vector entry type.  Otherwise, -1 is returned to
  24      indicate that either the auxiliary vector or the type entry could not be
  25      found.
  26 
  27 INTERFACE STABILITY
  28      Uncommitted
  29 
  30 MT-LEVEL
  31      See LOCKING in libproc(3LIB).
  32 
  33 SEE ALSO
  34      libproc(3LIB), Pgetauxvec(3PROC), proc(4)
  35 
  36 illumos                          May 11, 2016                          illumos