projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
460fcbd
)
Initial revision
author
roland
<roland>
Sun, 28 Mar 1993 21:12:05 +0000
(21:12 +0000)
committer
roland
<roland>
Sun, 28 Mar 1993 21:12:05 +0000
(21:12 +0000)
posix/testfnm.c
[new file with mode: 0644]
patch
|
blob
diff --git a/posix/testfnm.c
b/posix/testfnm.c
new file mode 100644
(file)
index 0000000..
cda3a8a
--- /dev/null
+++ b/
posix/testfnm.c
@@ -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);
+}