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

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

Contents


ELF_FILL(3E)							  ELF_FILL(3E)


NAME    [Toc]    [Back]

     elf_fill -	set fill byte

SYNOPSIS    [Toc]    [Back]

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

     #include <libelf.h>

     void elf_fill(int fill);

DESCRIPTION    [Toc]    [Back]

     Alignment constraints for ELF files sometimes require the presence	of
     ``holes.''	 For example, if the data for one section are required to
     begin on an eight-byte boundary, but the preceding	section	is too
     ``short,''	the library must fill the intervening bytes.  These bytes are
     set to the	fill character.	 The library uses zero bytes unless the
     application supplies a value.  See	elf_getdata(3E)	for more information
     about these holes.

SEE ALSO    [Toc]    [Back]

      
      
     elf(3E), elf_getdata(3E), elf_flag(3E), elf_update(3E).

NOTE    [Toc]    [Back]

     An	application can	assume control of the object file organization by
     setting the ELF_F_LAYOUT bit [see elf_flag(3E)].  When this is done, the
     library does not fill holes.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
memset Linux fill memory with a constant byte
putlong Tru64 Places long byte quantities into the byte stream
putshort Tru64 Places short byte quantities into the byte stream
memset OpenBSD write a byte to byte string
memchr NetBSD locate byte in byte string
memset NetBSD write a byte to byte string
memset NetBSD write a byte to byte string
memchr OpenBSD locate byte in byte string
memchr FreeBSD locate byte in byte string
memset FreeBSD write a byte to byte string
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service