FNMATCH.H(7) Miscellaneous Information Manual FNMATCH.H(7)

fnmatch.hfilename-matching types

#include <fnmatch.h>

The <fnmatch.h> header shall define the following 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.
[OB XSI] Reserved.

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);

None.

None.

None.

The System Interfaces volume of IEEE Std 1003.1-2001 (“POSIX.1”), fnmatch(3), the Shell and Utilities volume of IEEE Std 1003.1-2001 (“POSIX.1”)

First released in Issue 4. Derived from the ISO POSIX-2 standard.

The constant FNM_NOSYS is marked obsolescent.

footer end

January 1, 2004 posix.fail