fnmatch.h - filename-matching types
The <fnmatch.h> header shall define the following symbolic constants:
- The string does not match the specified pattern.
- <slash> in string only matches <slash> in pattern.
- Leading <period> in string must be exactly matched by <period> in pattern.
- 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);
First released in Issue 4. Derived from the ISO POSIX-2 standard.
The FNM_NOSYS constant is marked obsolescent.
The obsolescent FNM_NOSYS constant is removed.
This reference page is clarified with respect to macros and symbolic constants.
return to top of page