|
NAMEelf_cntl —
control an elf file descriptor
LIBRARYELF Access Library (libelf, -lelf)SYNOPSIS#include <libelf.h>
int
DESCRIPTIONFunctionelf_cntl () controls the ELF library's
subsequent use of the file descriptor used to create ELF descriptor
elf.
Argument cmd informs the library of the action to be taken:
Argument elf must be an ELF descriptor associated with a file system object (e.g., an ar(1) archive, an ELF file, or other data file). IMPLEMENTATION NOTESDue to use of mmap(2) internally, this function is a no-op for ELF objects opened inELF_C_READ mode.
RETURN VALUESFunctionelf_cntl () returns 0 on success, or -1 if an
error was detected.
ERRORS
SEE ALSOelf(3), elf_begin(3), elf_end(3), elf_next(3), elf_update(3), gelf(3)
Visit the GSP FreeBSD Man Page Interface. |