DOKK / manpages / debian 12 / libelf-dev / elf_begin.3.en
ELF_BEGIN(3) Libelf Programmer's Manual ELF_BEGIN(3)

elf_begin - Return descriptor for ELF file.

#include <libelf.h>

Elf *elf_begin (int filedes, Elf_Cmd cmd, Elf *ref); Elf *elf_clone (int filedes, Elf_Cmd cmd); int elf_end (Elf *elf);

The elf_begin()

elf_begin ELF_E_NO_VERSION ELF_E_INVALID_FILE ELF_E_INVALID_CMD ELF_E_NOMEM elf_clone ELF_E_NOMEM elf_end

For an explanation of the terms used in this section, see attributes(7).

Interface Attribute Value
elf_begin (), elf_clone (), elf_end () Thread safety MT-Safe

2017-09-05 Libelf