| Main index | Section 3 | Options |
#include <libelf.h>
Argument elf is a descriptor for an ELF object. Argument scndx is the section index for an ELF string table. Argument stroffset is the index of the desired string in the string table.
| [ELF_E_ARGUMENT] | |
| Argument elf was NULL | |
| [ELF_E_ARGUMENT] | |
| Argument elf was not a descriptor for an ELF object. | |
| [ELF_E_ARGUMENT] | |
| Argument scndx was not the section index for a string table. | |
| [ELF_E_ARGUMENT] | |
| Argument stroffset exceeded the size of the string table. | |
| [ELF_E_ARGUMENT] | |
| Argument stroffset index an unallocated region of the string table. | |
| [ELF_E_DATA] | Offset stroffset indexed a region that was not covered by any Elf_Data descriptor. |
| [ELF_E_DATA] | An erroneous Elf_Data descriptor was part of the section specified by argument scndx. |
| [ELF_E_HEADER] | ELF descriptor elf contained an invalid section header. |
| [ELF_E_RESOURCE] | |
| An out of memory condition was detected. | |
| [ELF_E_SECTION] | Section scndx contained a malformed section header. |
| [ELF_E_SECTION] | The ELF descriptor in argument elf did not adhere to the conventions used for extended numbering. |
| ELF_STRPTR (3) | December 16, 2006 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | This philosophy, in the hands of amateurs, leads to inexplicably mind-numbing botches like the existence of two programs, “head” and “tail,” which print the first part or the last part of a file, depending. Even though their operations are duals of one another, “head” and “tail” are different programs, written by different authors, and take different options! | ” |
| — The Unix Haters' handbook | ||