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


Manual Reference Pages  -  ELF_GETBASE (3)

NAME

elf_getbase - get the base offset for an object file

CONTENTS

Library
Synopsis
Description
Return Values
Errors
See Also

LIBRARY


.Lb libelf

SYNOPSIS


.In libelf.h off_t elf_getbase Elf *elf

DESCRIPTION

Function elf_getbase returns the file offset to the first byte of the object referenced by ELF descriptor elf.

For descriptors referencing members of archives, the returned offset is the file offset of the member in its containing archive. For descriptors to regular objects, the returned offset is (vacuously) zero.

RETURN VALUES

Function elf_getbase returns a valid file offset if successful, or (Vt off_t) -1 in case of an error.

ERRORS

Function elf_getbase may fail with the following errors:
[ELF_E_ARGUMENT] Argument elf was NULL.

SEE ALSO

elf(3), elf_getarhdr(3), elf_getident(3), elf_rawfile(3), gelf(3)
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 manServer 1.07.