elf_getbase man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD 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 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
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

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