hpux man page for elf_getshdr

Query: elf_getshdr

OS: hpux

Section: 3e

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

elf_getshdr(3E) 														   elf_getshdr(3E)

NAME
elf32_getshdr, elf64_getshdr - retrieve class-dependent section header for elf32 and elf64 files, respectively
SYNOPSIS
[flag... ] file... [library] ...
DESCRIPTION
For a 32-bit class file, returns a pointer to a section header for the section descriptor scn. Otherwise, the file is not a 32-bit class file, scn was null, or an error occurred; then returns NULL. The header includes the following members. For a 64-bit class file, returns a pointer to a section header for the section descriptor scn. Otherwise, the file is not a 64-bit class file, scn was null, or an error occurred; then returns NULL. The header includes the following members. If the program is building a new file, it is responsible for creating the file's ELF header before creating sections.
SEE ALSO
elf(3E), elf_flag(3E), elf_getscn(3E), elf_strptr(3E). elf_getshdr(3E)
Related Man Pages
elf32_getshdr(3elf) - opensolaris
elf64_getshdr(3elf) - opensolaris
elf_newscn(3e) - hpux
elf64_getshdr(3elf) - mojave
elf32_getshdr(3elf) - mojave
Similar Topics in the Unix Linux Community
Editing or Adding to ELF string tables