| ELF_GETVERSION(3) | Library Functions Manual | ELF_GETVERSION(3) |
elf_getversion —
retrieve the operating version for an ELF object
ELF Access Library (libelf, -lelf)
#include
<libelf.h>
unsigned int
elf_getversion(Elf
*elf);
The function
elf_getversion()
returns the operating version for the ELF descriptor pointed to by argument
elf.
The function returns the operating version for the ELF object if
successful, or EV_NONE if an error occurred.
This function is an extension to the ELF(3) API set.
This function can fail with the following errors:
ELF_E_ARGUMENT]NULL.ELF_E_ARGUMENT]| December 22, 2025 | NetBSD 11.99 |