diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-15 14:42:29 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-15 14:42:29 +0100 |
| commit | 7cd3b7caee10d62f7be674afb86a136bf30485d6 (patch) | |
| tree | 121a8c79114174b765713387187d930b102f760f /tests/headers/ftw.c | |
| parent | 3b3325f761b09ebbfef04c44eed546cc4fdeb329 (diff) | |
Add mqueue rt api, add header tests
Diffstat (limited to 'tests/headers/ftw.c')
| -rw-r--r-- | tests/headers/ftw.c | 26 |
1 files changed, 26 insertions, 0 deletions
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 <ftw.h> + +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); +} |
