elf32_getehdr man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

elf_getehdr(3E)						       elf_getehdr(3E)

NAME
       elf_getehdr:    elf32_getehdr(),	   elf32_newehdr(),   elf64_getehdr(),
       elf64_newehdr() - retrieve class-dependent object file header for elf32
       or elf64 file

SYNOPSIS
       Command: [flag]... file... [library]...

DESCRIPTION
   32-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 ALSO
       elf(3E), elf_begin(3E), elf_flag(3E), elf_getident(3E).

							       elf_getehdr(3E)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net