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