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


   8      #include <libproc.h>
   9 
  10      const auxv_t *
  11      Pgetauxvec(struct ps_prochandle *P);
  12 
  13 DESCRIPTION
  14      The Pgetauxvec() function returns a pointer to a copy of the auxiliary
  15      vector for the process handle P.  If the process handle does not
  16      represent an actively running process or the auxiliary vector could not
  17      be found, then it instead returns an empty auxiliary vector.  The
  18      definitions of the auxv_t may be found in <sys/auxv.h>.
  19 
  20      The returned auxiliary vector should not be used across any subsequent
  21      calls to libproc(3LIB).
  22 
  23 RETURN VALUES
  24      Upon successful completion, the Pgetauxvec() function always returns a
  25      pointer to an auxiliary vector.
  26 
  27 INTERFACE STABILITY
   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