|
NAMEelf_open —
open ELF objects and ar(1) archives
LIBRARYELF Access Library (libelf, -lelf)SYNOPSIS#include <libelf.h>
Elf *
Elf *
DESCRIPTIONImportant: The functionself_open ()
and elf_openmemory () are extensions to the
elf(3) API,
for the internal use of the Elftoolchain project. Portable applications should
not use these functions.
The function The function RETURN VALUESThe function returns a pointer to a ELF descriptor if successful, or NULL if an error occurred.COMPATIBILITYThese functions are non-standard extensions to the elf(3) API set.The behavior of these functions differs from their counterparts
elf_begin(3)
and
elf_memory(3)
in that these functions will successfully open malformed ELF objects and
ar(1)
archives, returning an Elf descriptor of type
ERRORSThese functions can fail with the following errors:
SEE ALSOelf(3), elf_begin(3), elf_errno(3), elf_memory(3), gelf(3)
Visit the GSP FreeBSD Man Page Interface. |