From 7cd3b7caee10d62f7be674afb86a136bf30485d6 Mon Sep 17 00:00:00 2001 From: Kacper Date: Mon, 15 Dec 2025 14:42:29 +0100 Subject: Add mqueue rt api, add header tests --- tests/headers/ftw.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tests/headers/ftw.c (limited to 'tests/headers/ftw.c') diff --git a/tests/headers/ftw.c b/tests/headers/ftw.c new file mode 100644 index 00000000..a6c3c38d --- /dev/null +++ b/tests/headers/ftw.c @@ -0,0 +1,26 @@ +// https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/ftw.h.html + +#include "core.h" + +#include + +TEST(ftw_h) +{ + TYPE(struct FTW); + STRUCT_MEMBER(struct FTW, int, base); + STRUCT_MEMBER(struct FTW, int, level); + + MACRO(FTW_F); + MACRO(FTW_D); + MACRO(FTW_DNR); + MACRO(FTW_DP); + MACRO(FTW_NS); + MACRO(FTW_SL); + MACRO(FTW_SLN); + + MACRO(FTW_PHYS); + MACRO(FTW_MOUNT); + MACRO(FTW_XDEV); + MACRO(FTW_DEPTH); + MACRO(FTW_CHDIR); +} -- cgit v1.2.3