The
elf_next() function causes the ELF archive descriptor corresponding to argument
elf to be adjusted to provide access to the next member in the archive on a subsequent call to
elf_begin().
The return value of
elf_next() is suitable for use in a loop invoking
elf_begin().