gelf_fsize man page on FreeBSD

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

GELF_FSIZE(3)		 BSD Library Functions Manual		 GELF_FSIZE(3)

     gelf_fsize, elf32_fsize, elf64_fsize — return the size of a file type

     library “libelf”

     #include <libelf.h>

     elf32_fsize(Elf_Type type, size_t count, unsigned int version);

     elf64_fsize(Elf_Type type, size_t count, unsigned int version);

     #include <gelf.h>

     gelf_fsize(Elf *elf, Elf_Type type, size_t count, unsigned int version);

     These functions return the size in bytes of the file representation of
     count numbers of objects of ELF type type.	 For ELF types that are of
     variable length, these functions return a size of one byte.

     Functions elf32_fsize() and elf64_fsize() return sizes for files of class
     ELFCLASS32 and ELFCLASS64 respectively.  Function gelf_fsize() returns
     the size for the class of ELF descriptor elf.

     These functions return a non-zero value in case of success, or zero in
     case of an error.

     These functions may fail with:

     [ELF_E_ARGUMENT]  Argument elf was NULL in a call to gelf_fsize().

     [ELF_E_ARGUMENT]  ELF descriptor elf had an unknown ELF class.

     [ELF_E_ARGUMENT]  Argument type contained an illegal value.

     [ELF_E_UNIMPL]    Support for ELF type type has not been implemented.

     [ELF_E_VERSION]   Argument version is not a supported version.

     elf(3), gelf(3)

BSD			       February 5, 2008				   BSD

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]
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