Initial revision
authorroland <roland>
Sun, 28 Mar 1993 21:12:05 +0000 (21:12 +0000)
committerroland <roland>
Sun, 28 Mar 1993 21:12:05 +0000 (21:12 +0000)
posix/testfnm.c [new file with mode: 0644]

diff --git a/posix/testfnm.c b/posix/testfnm.c
new file mode 100644 (file)
index 0000000..cda3a8a
--- /dev/null
@@ -0,0 +1,11 @@
+#include <stdio.h>
+#include "fnmatch.h"
+
+main (c, v)
+int c;
+char **v;
+{
+printf ("%d\n", fnmatch (v[1], v[2], FNM_PERIOD));
+printf ("%d\n", fnmatch (v[1], v[2], FNM_CASEFOLD|FNM_PERIOD));
+exit (0);
+}