PROG_GET_AUXV(3PROC) Process Control Library Functions PROG_GET_AUXV(3PROC)
NAME
proc_get_auxv - get process auxiliary vector
LIBRARY
Process Control Library (libproc, -lproc)
SYNOPSIS
#include <libproc.h> int proc_get_auxv(
pid_t proc,
auxv_t *pauxv,
int naux);
DESCRIPTION
The
proc_get_auxv() 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.
RETURN VALUES
Upon successful completion, the
proc_get_auxv() function returns the
number of auxiliary vectors read into
pauxv. Otherwise,
-1 is returned
to indicate an error occurred.
INTERFACE STABILITY
UncommittedMT-LEVEL MT-SafeSEE ALSO
libproc(3LIB),
proc(5)illumos November 27, 2023 illumos