/* See LICENSE file for copyright and license details. */ #include "../libsyscalls.h" #include #include #if defined(__clang__) # pragma clang diagnostic ignored "-Wunsafe-buffer-usage" /* clang is just being silly */ #endif int main(int argc, char **argv) { int sec; if (argc != 2) { fprintf(stderr, "usage error\n"); return 3; } sec = atoi(argv[1]); return !LIBSYSCALLS_IS_SECTION_HALF((enum libsyscalls_datatype_section)sec); }