| Main index | Section 3 | Options |
#include <libelf.h>
Function elf_getshnum() retrieves the number of ELF sections associated with descriptor elf and stores it into the location pointed to by argument shnum.
This routine allows applications to uniformly process both normal ELF objects, and ELF objects that use extended section numbering.
| [ELF_E_ARGUMENT] | |
| A NULL value was passed in for argument elf. | |
| [ELF_E_ARGUMENT] | |
| Argument elf was not for an ELF file. | |
| [ELF_E_ARGUMENT] | |
| Argument elf lacks an ELF Executable header. | |
| ELF_GETSHNUM (3) | August 5, 2009 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | … one of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs. | ” |
| — Robert Firth | ||