Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ elf_fsize(3E) — Amiga System V Release 4 Version 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

elf(3E)



elf_fsize(3E)     MISC. REFERENCE MANUAL PAGES      elf_fsize(3E)



NAME
     elffsize: elf32fsize - return the size of an  object  file
     type

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

     #include <libelf.h>

     sizet elf32fsize(ElfType type, sizet count, unsigned ver);

DESCRIPTION
     elf32fsize gives the size  in  bytes  of  the  32-bit  file
     representation  of  count  data objects with the given type.
     The library uses version ver  to  calculate  the  size  [see
     elf(3E) and elfversion(3E)].  Constant values are available
     for the sizes of fundamental types.
         ElfType        File Size           Memory Size
        _____________________________________________________
        ELFTADDR |  ELF32FSZADDR |  sizeof(Elf32Addr)
        ELFTBYTE |  1              |  sizeof(unsigned char)
        ELFTHALF |  ELF32FSZHALF |  sizeof(Elf32Half)
        ELTTOFF  |  ELF32FSZOFF  |  sizeof(Elf32Off)
        ELFTSWORD|  ELF32FSZSWORD|  sizeof(Elf32Sword)
        ELFTWORD |  ELF32FSZWORD |  sizeof(Elf32Word)
        ___________|_________________|_______________________
     elf32fsize returns zero if the value  of  type  or  ver  is
     unknown.  See elfxlate(3E) for a list of the type values.

SEE ALSO
     elf(3E), elfversion(3E), elfxlate(3E).
























                    Last change: ELF Library                    1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026