Provides a function for checking whether a specified string matches a string that contains wildcards.
If this flag is set, a leading period (.) in string can be exactly matched by the period (.) in pattern. A period is considered to be leading if it is the first character in string, or if both FNM_PATHNAME is set and the period immediately follows a slash.
If this flag is set, a trailing sequence of characters starting with a slash (/) is ignored in string. For example, if this flag is set, either foo or foobar as a pattern would match the string foobar/frobozz.
The definition is similar to that of FNM_PATHNAME.
fnmatch (const char pattern, const char string, int flags)