|
NAMEelf_rawfile —
return uninterpreted contents of an ELF file
LIBRARYELF Access Library (libelf, -lelf)SYNOPSIS#include <libelf.h>
char *
DESCRIPTIONFunctionelf_rawfile () returns the uninterpreted
contents of the file referenced by ELF descriptor elf.
If argument sz is non-null, the function stores the file's size in bytes in the location to which it points. A value of zero is written to this location if an error is encountered. RETURN VALUESFunctionelf_rawfile () returns a valid pointer if
successful or NULL if an error occurs.
ERRORSFunctionelf_rawfile () may fail with the following
errors:
SEE ALSOelf(3), elf_getdata(3), elf_getident(3), elf_kind(3), elf_update(3)
Visit the GSP FreeBSD Man Page Interface. |