"LEADING_DIR" is an element in FNM
"CASEFOLD" is an element in FNM
"NOESCAPE" is an element in FNM
"PERIOD" is an element in FNM
"PATHNAME" is an element in FNM
"FILE_NAME" is an element in FNM
fnmatch("*.a", "foo.a", 0)  = 0
fnmatch("*.a", "foo.c", 0) == FNM_NOMATCH
