api: posix header test
[libc-test] / src / api / fnmatch.c
1 #include <fnmatch.h>
2 #define C(n) switch(n){case n:;}
3 static void f()
4 {
5 C(FNM_NOMATCH)
6 C(FNM_PATHNAME)
7 C(FNM_PERIOD)
8 C(FNM_NOESCAPE)
9 int(*p_fnmatch)(const char*,const char*,int) = fnmatch;
10 }