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