|
NAMEelf_strptr —
retrieve a string pointer in a string table
LIBRARYELF Access Library (libelf, -lelf)SYNOPSIS#include <libelf.h>
char *
DESCRIPTIONFunctionelf_strptr () allows an application to convert a
string table offset to a string pointer, correctly translating the offset in
the presence of multiple Elf_Data descriptors covering
the contents of the section.
Argument elf is a descriptor for an ELF object. Argument scndx is the section index for an ELF string table. Argument stroffset is the index of the desired string in the string table. RETURN VALUESFunctionelf_strptr () returns a valid pointer on success
or NULL in case an error was encountered.
ERRORS
SEE ALSOelf(3), elf32_getshdr(3), elf64_getshdr(3), elf_getdata(3), elf_rawdata(3), gelf(3), gelf_getshdr(3)
Visit the GSP FreeBSD Man Page Interface. |