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