elf_getbase(3) netbsd man page | unix.com

Man Page: elf_getbase

Operating Environment: netbsd

Section: 3

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

NAME
elf_getbase -- get the base offset for an object file
LIBRARY
ELF Access Library (libelf, -lelf)
SYNOPSIS
#include <libelf.h> off_t elf_getbase(Elf *elf);
DESCRIPTION
Function elf_getbase() returns the file offset in the containing archive of the first byte of the file referenced by ELF descriptor elf.
RETURN VALUES
Function elf_getbase() returns a valid file offset into the containing archive if successful. It returns -1 if argument elf is NULL or is not a member of an archive.
ERRORS
Function elf_getbase() may fail with the following errors: [ELF_E_ARGUMENT] Argument elf is not an ELF descriptor for an archive member.
SEE ALSO
elf(3), elf_getarhdr(3), elf_getident(3), elf_rawfile(3), gelf(3)
BSD
June 11, 2006 BSD
Related Man Pages
elf_getbase(3elf) - opendarwin
elf_getbase(3elf) - v7
elf_getbase(3elf) - minix
elf_getbase(3elf) - redhat
elf_getbase(3elf) - osf1
Similar Topics in the Unix Linux Community
Unix File Permissions
How to install PGX32 on Sparc 10 Ultra?
Vm versus physical linux server
Grandpa returning to UNIX
BSD Unix Toolbox: 1000+ Commands for FreeBSD, OpenBSD, and NetBSD