HP-UX Reference (11i v1 00/12) - 3 Library Functions A-M (vol 6)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/!!!intro.3c
________________________________________________________________
___ ___
e
elf_fill(3E) elf_fill(3E)
NAME
elf_fill - set fill byte
SYNOPSIS
cc [flag... ] file... -lelf [library] ...
#include <libelf.h>
void elf_fill(int fill);
DESCRIPTION
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.
NOTICES
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.
SEE ALSO
elf(3E), elf_getdata(3E), elf_flag(3E), elf_update(3E).
Section 3178 1 HP-UX Release 11i: December 2000
___
___