xref: /linux/tools/build/feature/test-libelf-getphdrnum.c (revision 0bdede8a3e4ff7710622a2e6713d04b3243c24a8)
1 #include <libelf.h>
2 
3 int main(void)
4 {
5 	size_t dst;
6 
7 	return elf_getphdrnum(0, &dst);
8 }
9