Man page - elf_version(3)
Packages contas this manual
- elf_ndxscn(3)
- elf_getscn(3)
- libelf(3)
- elf_errno(3)
- elf32_getphdr(3)
- elf_begin(3)
- elf_errmsg(3)
- elf32_checksum(3)
- elf32_xlatetof(3)
- elf64_fsize(3)
- elf64_newphdr(3)
- elf32_fsize(3)
- elf_version(3)
- elf32_newehdr(3)
- elf_clone(3)
- elf64_getchdr(3)
- elf32_newphdr(3)
- elf64_xlatetom(3)
- elf32_getchdr(3)
- elf_getdata(3)
- elf32_getshdr(3)
- elf64_getphdr(3)
- elf64_newehdr(3)
- elf64_getehdr(3)
- elf64_getshdr(3)
- elf32_getehdr(3)
- elf_update(3)
- elf32_xlatetom(3)
- elf64_checksum(3)
- elf64_offscn(3)
- elf64_xlatetof(3)
- elf32_offscn(3)
Package: libelf-dev
apt-get install libelf-dev
apt-get install libelf-dev
Manuals in package:
Documentations in package:
Manual
| ELF_VERSION(3) | Libelf Programmer's Manual | ELF_VERSION(3) |
NAME
elf_version - set the ELF version for libelf.
SYNOPSIS
#include <libelf.h>
unsigned int elf_version(unsigned int version);
DESCRIPTION
The elf_version function sets libelf's ELF version to the specified value. This function must be called before any other libelf functions are used.
PARAMETERS
- version
- An unsigned int value specifying the desired ELF version for the library. This is should be set to EV_CURRENT to indicate the current ELF version. At this time the only supported ELF version is EV_CURRENT.
RETURN VALUE
The elf_version function returns EV_CURRENT if version is supported and sets the library's ELF version to this value. If the given version is EV_NONE, then this function returns EV_CURRENT and does not set the library's ELF version. If the specified version is not supported, this function returns EV_NONE.
REPORTING BUGS
Report bugs to <elfutils-devel@sourceware.org> or https://sourceware.org/bugzilla/.
| 2024-06-26 | Libelf |