blob: 648dbd39612d5ad0cddce678db5d7a4773f94ec5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <stdio.h>
#include "fnmatch.h"
int
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);
}
|