Main index | Section 3 | Options |
#include <gelf.h>
Function gelf_update_ehdr() updates the ELF Executable Header with the values in the class-independent executable header ehdr.
Function gelf_update_phdr() updates the ELF Program Header structure at index ndx with the values in the class-independent program header phdr.
Function gelf_update_shdr() updates the ELF Section Header structure associated with section descriptor scn with the values in argument shdr.
[ELF_E_ARGUMENT] | |
Arguments elf, ehdr, phdr, scn, or shdr were NULL. | |
[ELF_E_ARGUMENT] | |
Argument elf was not a descriptor for an ELF object. | |
[ELF_E_ARGUMENT] | |
Argument elf had an unsupported ELF class. | |
[ELF_E_ARGUMENT] | |
Argument ndx exceeded the number of entries in the program header table. | |
[ELF_E_ARGUMENT] | |
Section descriptor scn was not associated with an ELF descriptor. | |
[ELF_E_MODE] | ELF descriptor elf was not opened for writing or updating. |
[ELF_E_RESOURCE] | |
An out of memory condition was detected. | |
GELF_UPDATE_EHDR (3) | August 27, 2006 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.