/* See LICENSE file for copyright and license details. */ #include "../libsyscalls.h" #include #include #include int main(int argc, char *argv[]) { enum libsyscalls_datatype_section sec; (void) argc; sec = (enum libsyscalls_datatype_section)atoi(argv[1]); printf("%u\n", LIBSYSCALLS_GET_SECTION_FRACTION(sec)); if (fflush(stdout) || fclose(stdout)) { perror(NULL); return 1; } return 0; }