FNMATCH.H(7) Miscellaneous Information Manual FNMATCH.H(7)
NAME
fnmatch.h —
filename-matching types
SYNOPSIS
#include
<fnmatch.h>
DESCRIPTION
The <fnmatch.h> header shall define the following symbolic constants:
- FNM_NOMATCH
- The string does not match the specified pattern.
- FNM_PATHNAME
- <slash> in string only matches <slash> in pattern .
- FNM_PERIOD
- Leading <period> in string must be exactly matched by <period> in pattern .
- FNM_NOESCAPE
- Disable backslash escaping.
The following shall be declared as a function and may also be defined as a macro. A function prototype shall be provided.
int fnmatch(const char *, const char *, int);
APPLICATION USAGE
None.
RATIONALE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
XSH fnmatch(3)
CHANGE HISTORY
First released in Issue 4. Derived from the ISO POSIX-2 standard.
Issue 6
The FNM_NOSYS constant is marked obsolescent.
Issue 7
The obsolescent FNM_NOSYS constant is removed.
This reference page is clarified with respect to macros and symbolic constants.
January 1, 2008 posix.fail