repo.or.cz
/
glibc
/
history.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Thu May 16 00:31:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
[glibc/history.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
}