Closed notsyncing closed 6 years ago
fnmatch returns 0 on match, according to http://man7.org/linux/man-pages/man3/fnmatch.3.html:
RETURN VALUE top Zero if string matches pattern, FNM_NOMATCH if there is no match or another nonzero value if there is an error.
fnmatch returns 0 on match, according to http://man7.org/linux/man-pages/man3/fnmatch.3.html: