GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ELFTC_RELOC_TYPE_STR(3) FreeBSD Library Functions Manual ELFTC_RELOC_TYPE_STR(3)

elftc_reloc_type_str
return the type name for an ELF relocation

library “libelftc”

#include <libelftc.h>
const char *
elftc_reloc_type_str(unsigned int mach, unsigned int type);

Function elftc_reloc_type_str() returns the name for specified relocation type.
Argument mach specifies the machine (architecture) type. Argument type specifies the relocation value.

Function elftc_program_version() returns a pointer to a string constant, or to an internal character buffer if the relocation type is unknown.

To 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));

Function elftc_reloc_type_str() always succeeds.
February 19, 2016 FreeBSD 12.0-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.