glibc/posix/testfnm.c

13 lines
219 B
C
Raw Normal View History

1995-02-18 09:27:10 +08:00
#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);
}