PGETAUXVEC(3PROC) Process Control Library Functions PGETAUXVEC(3PROC)
NAME
Pgetauxvec - obtain process auxiliary vector
LIBRARY
Process Control Library (libproc, -lproc)
SYNOPSIS
#include <libproc.h> const auxv_t * Pgetauxvec(
struct ps_prochandle *P);
DESCRIPTION
The
Pgetauxvec() function returns a pointer to a copy of the auxiliary
vector for the process handle
P. If the process handle does not
represent an actively running process or the auxiliary vector could not
be found, then it instead returns an empty auxiliary vector. The
definitions of the
auxv_t may be found in <
sys/auxv.h>.
The returned auxiliary vector should not be used across any subsequent
calls to
libproc(3LIB).
RETURN VALUES
Upon successful completion, the
Pgetauxvec() function always returns a
pointer to an auxiliary vector.
INTERFACE STABILITY
UncommittedMT-LEVEL See
LOCKING in
libproc(3LIB).
SEE ALSO
libproc(3LIB),
Pgetauxval(3PROC),
proc(5)illumos May 11, 2016 illumos