The Open Group Base Specifications Issue 6
IEEE Std 1003.1, 2003 Edition
Copyright © 2001-2003 The IEEE and The Open Group, All Rights reserved.

NAME

fnmatch.h - filename-matching types

SYNOPSIS

#include <fnmatch.h>

DESCRIPTION

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

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


The following sections are informative.

APPLICATION USAGE

None.

RATIONALE

None.

FUTURE DIRECTIONS

None.

SEE ALSO

The System Interfaces volume of IEEE Std 1003.1-2001, fnmatch(), the Shell and Utilities volume of IEEE Std 1003.1-2001

CHANGE HISTORY

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

Issue 6

The constant FNM_NOSYS is marked obsolescent.

End of informative text.


UNIX ® is a registered Trademark of The Open Group.
POSIX ® is a registered Trademark of The IEEE.
[ Main Index | XBD | XCU | XSH | XRAT ]