Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 PGETAUXVAL(3PROC)      Process Control Library Functions     PGETAUXVAL(3PROC)
   2 
   3 NAME
   4      Pgetauxval - obtain auxiliary vector value
   5 
   6 SYNOPSIS
   7      Process Control Library (libproc, -lproc)


   8      #include <libproc.h>
   9 
  10      int
  11      Pgetauxval(struct ps_prochandle *P, int type);
  12 
  13 DESCRIPTION
  14      The Pgetauxval() function looks up the entry type in the auxiliary vector
  15      of the process handle P and returns its value.  The type argument should
  16      be the entry of the auxiliary vector.  The list of such types may be
  17      found in <sys/auxv.h>.
  18 
  19 RETURN VALUES
  20      Upon successful completion, the Pgetauxval() function returns the value
  21      of the auxiliary vector entry type.  Otherwise, -1 is returned to
  22      indicate that either the auxiliary vector or the type entry could not be
  23      found.
  24 
  25 INTERFACE STABILITY
  26      Uncommitted
  27 
   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