repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>
[glibc.git]
/
posix
/
testfnm.c
blob
648dbd39612d5ad0cddce678db5d7a4773f94ec5
1
#include <stdio.h>
2
#include
"fnmatch.h"
3
4
int
5
main
(
c
,
v
)
6
int
c
;
7
char
**
v
;
8
{
9
printf
(
"%d
\n
"
,
fnmatch
(
v
[
1
],
v
[
2
],
FNM_PERIOD
));
10
printf
(
"%d
\n
"
,
fnmatch
(
v
[
1
],
v
[
2
],
FNM_CASEFOLD
|
FNM_PERIOD
));
11
exit
(
0
);
12
}