OpenCloudOS-Kernel/tools/build/feature/test-libelf-getphdrnum.c

10 lines
123 B
C

// SPDX-License-Identifier: GPL-2.0
#include <libelf.h>
int main(void)
{
size_t dst;
return elf_getphdrnum(0, &dst);
}