| ELF_AUX_INFO(3) | Library Functions Manual | ELF_AUX_INFO(3) |
elf_aux_info —
extract data from the elf auxiliary vector of the current
process
#include
<sys/auxv.h>
int
elf_aux_info(int
aux, void *buf,
int buflen);
The
elf_aux_info()
function retrieves the auxiliary info vector requested in
aux. The information is stored into the provided
buffer if it will fit. The following values can be requested (corresponding
buffer sizes are specified in parenthesis):
(sizeof(unsigned
long)).(sizeof(unsigned
long)).(sizeof(int)).Returns zero on success, or an error number on failure.
The elf_aux_info() function appeared in
FreeBSD 12.0 and was first available in
OpenBSD 7.6.
| July 14, 2024 | Debian |