elf_begin - Man Page

Return descriptor for ELF file.

Synopsis

#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);

Description

The elf_begin()

Return Value

Errors

elf_begin ELF_E_NO_VERSION ELF_E_INVALID_FILE ELF_E_INVALID_CMD ELF_E_NOMEM elf_clone ELF_E_NOMEM elf_end

Attributes

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

See Also

Info

2017-09-05 Libelf Programmer's Manual