The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

NAME

fnmatch.h - filename-matching types

SYNOPSIS

#include <fnmatch.h>

DESCRIPTION

The <fnmatch.h> header defines the flags and return value used by the fnmatch() function. The following constants are defined:

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
The implementation does not support this function.

The following is declared as a function and may also be declared as a macro. Function prototypes must be provided for use with an ISO C compiler.

int fnmatch(const char *, const char *, int);

APPLICATION USAGE

None.

FUTURE DIRECTIONS

None.

SEE ALSO

fnmatch(), the XCU specification.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]