PGETAUXVAL(3PROC) Process Control Library Functions PGETAUXVAL(3PROC)
Pgetauxval - obtain auxiliary vector value
Process Control Library (libproc, -lproc)
#include <libproc.h>
long
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.
Uncommitted
MT-LEVEL
See LOCKING in libproc(3LIB).
libproc(3LIB), Pgetauxvec(3PROC), proc(5)
illumos July 13, 2025 illumos
NAME
Pgetauxval - obtain auxiliary vector value
LIBRARY
Process Control Library (libproc, -lproc)
SYNOPSIS
#include <libproc.h>
long
Pgetauxval(struct ps_prochandle *P, int type);
DESCRIPTION
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>.
RETURN VALUES
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.
INTERFACE STABILITY
Uncommitted
MT-LEVEL
See LOCKING in libproc(3LIB).
SEE ALSO
libproc(3LIB), Pgetauxvec(3PROC), proc(5)
illumos July 13, 2025 illumos