test-libelf-getphdrnum.c 87 Bytes
#include <libelf.h>

int main(void)
{
	size_t dst;

	return elf_getphdrnum(0, &dst);
}