1ELF_BEGIN(3) Libelf Programmer's Manual ELF_BEGIN(3)
2
3
4
6 elf_begin - Return descriptor for ELF file.
7
9 #include <libelf.h>
10
11 Elf *elf_begin (int filedes, Elf_Cmd cmd, Elf *ref); Elf *elf_clone
12 (int filedes, Elf_Cmd cmd); int elf_end (Elf *elf);
13
15 The elf_begin()
16
19 elf_begin ELF_E_NO_VERSION ELF_E_INVALID_FILE ELF_E_INVALID_CMD
20 ELF_E_NOMEM elf_clone ELF_E_NOMEM elf_end
21
23 For an explanation of the terms used in this section, see
24 attributes(7).
25
26
27
29Libelf 2017-09-05 ELF_BEGIN(3)