*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> libelf/elf_getbase (3)              
Title
Content
Arch
Section
 

Contents


ELF_GETBASE(3E)						       ELF_GETBASE(3E)


NAME    [Toc]    [Back]

     elf_getbase - get the base	offset for an object file

SYNOPSIS    [Toc]    [Back]

     cc	[flag ...] file	...  -lelf [library ...]

     #include <libelf.h>

     off_t elf_getbase(Elf *elf);

DESCRIPTION    [Toc]    [Back]

     elf_getbase returns the file offset of the	first byte of the file or
     archive member associated with elf, if it is known	or obtainable, and -1
     otherwise.	 A null	elf is allowed,	to simplify error handling; the	return
     value in this case	is -1.	The base offset	of an archive member is	the
     beginning of the member's information, not	the beginning of the archive
     member header.

SEE ALSO    [Toc]    [Back]

      
      
     elf(3E), elf_begin(3E), ar(4).


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
lseek FreeBSD reposition read/write file offset
lseek OpenBSD reposition read/write file offset
seek NetBSD reposition read/write file offset
pread Linux read from or write to a file descriptor at a given offset
lseek NetBSD reposition read/write file offset
lseek Tru64 Move read-write file offset
llseek Linux reposition read/write file offset
lseek Linux reposition read/write file offset
newaliases OpenBSD rebuild the data base for the mail aliases file
dirname Tru64 Returns the base file name or directory portion of a path name
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service