|
NAMEelftc_reloc_type_str —
return the type name for an ELF relocation
LIBRARYlibrary “libelftc”SYNOPSIS#include <libelftc.h>
const char *
DESCRIPTIONFunctionelftc_reloc_type_str () returns the name for
specified relocation type.
Argument mach specifies the machine (architecture) type. Argument type specifies the relocation value. RETURN VALUESFunctionelftc_program_version () returns a pointer to a
string constant, or to an internal character buffer if the relocation type is
unknown.
EXAMPLESTo print ARM relocation type 7, use:#include <sys/types.h> #include <libelftc.h> #include <stdio.h> (void) printf("%s\n", elftc_reloc_type_str(EM_ARM, 7)); ERRORSFunctionelftc_reloc_type_str () always succeeds.
Visit the GSP FreeBSD Man Page Interface. |