summaryrefslogtreecommitdiff
path: root/posix/testfnm.c
blob: 3b3aa9730f76251d88519237d309cd17fdfe8efc (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>
#include "fnmatch.h"

int
main (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);
}