elf_getbase man page on FreeBSD

Man page or keyword search:  
man Server   9747 pages
apropos Keyword Search (all sections)
Output format
FreeBSD logo
[printable version]

ELF_GETBASE(3)		 BSD Library Functions Manual		ELF_GETBASE(3)

NAME
     elf_getbase — get the base offset for an object file

LIBRARY
     library “libelf”

SYNOPSIS
     #include <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
     (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)

BSD				 June 6, 2010				   BSD
[top]

List of man pages available for FreeBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
...................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net