1 // SPDX-License-Identifier: GPL-2.0 1 2 #include <libelf.h> 3 4 int main(void) 5 { 6 size_t dst; 7 8 return elf_getphdrnum(0, &dst); 9 } 10
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.