elf64_getshdr man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



ELF_GETSHDR(3E)						       ELF_GETSHDR(3E)

NAME
     elf_getshdr: elf32_getshdr, elf64_getshdr - retrieve class-dependent
     section header

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

     #include <libelf.h>
     Elf32_Shdr *elf32_getshdr(Elf_Scn *scn);
     Elf64_Shdr *elf32_getshdr(Elf_Scn *scn);

DESCRIPTION
     For a 32-bit class file, elf32_getshdr 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; elf32_getshdr then
     returns null.

     The header includes the following members.

		  Elf32_Word	  sh_name;
		  Elf32_Word	  sh_type;
		  Elf32_Word	  sh_flags;
		  Elf32_Addr	  sh_addr;
		  Elf32_Off	  sh_offset;
		  Elf32_Word	  sh_size;
		  Elf32_Word	  sh_link;
		  Elf32_Word	  sh_info;
		  Elf32_Word	  sh_addralign;
		  Elf32_Word	  sh_entsize;

     If the program is building a new file, it is responsible for creating the
     file's ELF header before creating sections.

     The 64-bit class works identically, simply replacing all instances of 32
     in the description and table with 64.

SEE ALSO
     elf(3E), elf_flag(3E), elf_getscn(3E), elf_strptr(3E).

									Page 1

[top]

List of man pages available for IRIX

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