Matches string against pattern, returning zero if itmatches,
FNM_NOMATCH
if not. pattern may contain thewildcards ?
to match any one character, *
to match anyzero or more characters, or a set of alternate characters in squarebrackets, like ‘[a-gt8]’, which match one character (a
through g
, or t
, or 8
, in this example) if that onecharacter is in the set. A set may be inverted (i.e., match anythingexcept what’s in the set) by giving ^
or !
as the firstcharacter in the set. To include those characters in the set, list themas anything other than the first character of the set. To include adash in the set, list it last in the set. A backslash character makesthe following character not special, so for example you could matchagainst a literal asterisk with ‘*’. To match a literalbackslash, use ‘’.Online shopping for Mac Operating Systems from a great selection at Software Store. Get all the features of Windows 10 Home operating system plus Remote Desktop, Windows Information Protection., BitLocker. and a suite of tools designed for business use. Licensed for one PC or Mac.Windows Information Protection requires either Mobile Device Management or System Center Configuration Manager to manage settings.
flags
controls various aspects of the matching process, and is aboolean OR of zero or more of the following values (defined in<fnmatch.h>
):![Iliberty Iliberty](/uploads/1/3/4/3/134353841/133045393.png)
FNM_PATHNAME
FNM_FILE_NAME
string is assumed to be a path name. No wildcard will ever match
/
.FNM_NOESCAPE
![Liberty Liberty](/uploads/1/3/4/3/134353841/756222728.jpg)
Do not interpret backslashes as quoting the following special character.
FNM_PERIOD
A leading period (at the beginning of string, or if
FNM_PATHNAME
after a slash) is not matched by *
or?
but must be matched explicitly.FNM_LEADING_DIR
Means that string also matches pattern if some initial partof string matches, and is followed by
/
and zero or morecharacters. For example, ‘foo*’ would match either ‘foobar’or ‘foobar/grill’.FNM_CASEFOLD
Liberty Player For Mac
Ignores case when performing the comparison.