PGETAUXVAL(3PROC) | Process Control Library Functions | PGETAUXVAL(3PROC) |
Pgetauxval
—
obtain auxiliary vector value
Process Control Library (libproc, -lproc)
#include
<libproc.h>
int
Pgetauxval
(struct ps_prochandle
*P, int type);
The
Pgetauxval
()
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,
-1 is returned
to indicate that either the auxiliary vector or the
type entry could not be found.
See LOCKING in libproc(3LIB).
May 11, 2016 | OmniOS |