Query: elf_getehdr
OS: hpux
Section: 3e
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
elf_getehdr(3E) elf_getehdr(3E)NAMEelf_getehdr: elf32_getehdr(), elf32_newehdr(), elf64_getehdr(), elf64_newehdr() - retrieve class-dependent object file header for elf32 or elf64 fileSYNOPSISCommand: [flag]... file... [library]...DESCRIPTION32-bit Class File For a 32-bit class file, returns a pointer to an ELF header, if one is available for the ELF descriptor elf. If no header exists for the descriptor, allocates a "clean" one, but it otherwise behaves the same as It does not allocate a new header if one exists already. If no header exists (for one cannot be created (for a system error occurs, the file is not a 32-bit class file, or elf is null, both functions return a null pointer. The header includes the following members. automatically sets the bit (see elf_flag(3E)). A program may use to inspect the identification bytes from a file. 64-bit Class File For a 64-bit class file, returns a pointer to an ELF header, if one is available for the ELF descriptor elf. If no header exists for the descriptor, allocates a "clean" one, but it otherwise behaves the same as It does not allocate a new header if one exists already. If no header exists (for one cannot be created (for a system error occurs, the file is not a 64-bit class file, or elf is null, both functions return a null pointer. The header includes the following members. automatically sets the bit (see elf_flag(3E)). A program may use to inspect the identification bytes from a file.SEE ALSOelf(3E), elf_begin(3E), elf_flag(3E), elf_getident(3E). elf_getehdr(3E)
Related Man Pages |
---|
elf32_newehdr(3elf) - opensolaris |
elf32_newehdr(3e) - hpux |
elf32_newphdr(3e) - hpux |
elf64_getphdr(3e) - hpux |
elf_getehdr(3e) - hpux |
Similar Topics in the Unix Linux Community |
---|
how to inspect the bytes in a file? |