ELF_NDXSCN(3) | Libelf Programmer's Manual | ELF_NDXSCN(3) |
elf_ndxscn - retrieve the index of a descriptor for an ELF file section
#include <libelf.h>
size_t elf_ndxscn(Elf_Scn *scn);
The elf_ndxscn function retrieves the index of the section descriptor referred to by scn.
The elf_ndxscn function returns the index of the section descriptor. If scn is NULL, it returns SHN_UNDEF. SHN_UNDEF is zero.
libelf(3), elf(5)
For an explanation of the terms used in this section, see attributes(7).
Interface | Attribute | Value |
elf_ndxscn () | Thread safety | MT-Safe |
Report bugs to <elfutils-devel@sourceware.org> or https://sourceware.org/bugzilla/.
2024-07-18 | Libelf |