PGETAUXVAL(3PROC) Process Control Library Functions PGETAUXVAL(3PROC)

Pgetauxvalobtain auxiliary vector value

Process Control Library (libproc, -lproc)

#include <libproc.h>

int
Pgetauxval(struct ps_prochandle *P, int type);

The () function looks up the entry type in the auxiliary vector of the process handle P and returns its value. The type argument should be the entry of the auxiliary vector. The list of such types may be found in <sys/auxv.h>.

Upon successful completion, the Pgetauxval() function returns the value of the auxiliary vector entry type. Otherwise, is returned to indicate that either the auxiliary vector or the type entry could not be found.

See in libproc(3LIB).

libproc(3LIB), Pgetauxvec(3PROC), proc(5)

May 11, 2016 OmniOS