| DL_ITERATE_PHDR(3) | Library Functions Manual | DL_ITERATE_PHDR(3) |
int
dl_iterate_phdr(int (*callback)(struct dl_phdr_info *, size_t, void*), void *data);
struct dl_phdr_info {
Elf_Addr dlpi_addr;
const char *dlpi_name;
const Elf_Phdr *dlpi_phdr;
Elf_Half dlpi_phnum;
unsigned long long int dlpi_adds;
unsigned long long int dlpi_subs;
size_t dlpi_tls_modid;
void *dlpi_tls_data;
};
The members of struct dl_phdr_info have the following meaning:
To make it possible for programs to check whether any new members have been added, the size of the structure is passed as an argument to callback.
| October 16, 2010 | NetBSD 7.1 |