mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 18:23:41 +08:00
13 lines
219 B
C
13 lines
219 B
C
#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);
|
|
}
|