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

Pgetauxvecobtain process auxiliary vector

Process Control Library (libproc, -lproc)

#include <libproc.h>

const auxv_t *
Pgetauxvec(struct ps_prochandle *P);

The () 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 may be found in <sys/auxv.h>.

The returned auxiliary vector should not be used across any subsequent calls to libproc(3LIB).

Upon successful completion, the Pgetauxvec() function always returns a pointer to an auxiliary vector.

See in libproc(3LIB).

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

May 11, 2016 OmniOS