diff options
Diffstat (limited to 'testutil/is-section-quarter.c')
-rw-r--r-- | testutil/is-section-quarter.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testutil/is-section-quarter.c b/testutil/is-section-quarter.c new file mode 100644 index 0000000..1fe28d2 --- /dev/null +++ b/testutil/is-section-quarter.c @@ -0,0 +1,14 @@ +/* See LICENSE file for copyright and license details. */ +#include "../libsyscalls.h" + +#include <stdlib.h> + + +int +main(int argc, char *argv[]) +{ + enum libsyscalls_datatype_section sec; + (void) argc; + sec = (enum libsyscalls_datatype_section)atoi(argv[1]); + return !LIBSYSCALLS_IS_SECTION_QUARTER(sec); +} |