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

proc_get_auxvget process auxiliary vector

Process Control Library (libproc, -lproc)
#include <libproc.h>

proc_get_auxv(pid_t proc, auxv_t *pauxv, int naux);

The () function is a convenient way to read the /proc auxv file for the process proc. Up to naux vectors will be read and written into pauxv.

Upon successful completion, the proc_get_auxv() function returns the number of auxiliary vectors read into pauxv. Otherwise, is returned to indicate an error occurred.

libproc(3LIB), proc(5)

May 11, 2016 OmniOS