posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
Loading...
Searching...
No Matches
fnmatch.h File Reference

POSIX filename pattern matching (<fnmatch.h>) More...

Go to the source code of this file.

Macros

#define FNM_NOMATCH   1
 Return value of fnmatch() indicating the string did not match the pattern.
 
#define FNM_NOESCAPE   0x01
 Flag: treat backslash as an ordinary character rather than an escape character.
 
#define FNM_PATHNAME   0x02
 Flag: a slash must be matched by a slash (not '?' or '*' or a bracket expression).
 
#define FNM_PERIOD   0x04
 Flag: a leading '.
 
#define FNM_IGNORECASE   FNM_CASEFOLD
 Alias for FNM_CASEFOLD.
 

Functions

int fnmatch (const char *pattern, const char *string, int flags)
 Match a filename or path against a shell-style pattern.
 

Detailed Description

POSIX filename pattern matching (<fnmatch.h>)

See also
POSIX.1-2017 <fnmatch.h>

Definition in file fnmatch.h.