|
ginnOS
The reference: libc, the libraries and the kernel
|
shell patterns ("*.c", "[a-z]?"): fnmatch is musl's (see src/libc/src/regex/README.md). More...
Go to the source code of this file.
Macros | |
| #define | FNM_PATHNAME 0x01 |
| #define | FNM_NOESCAPE 0x02 |
| #define | FNM_PERIOD 0x04 |
| #define | FNM_LEADING_DIR 0x08 |
| #define | FNM_CASEFOLD 0x10 |
| #define | FNM_FILE_NAME FNM_PATHNAME |
| #define | FNM_NOMATCH 1 |
| #define | FNM_NOSYS (-1) |
Functions | |
| int | fnmatch (const char *pattern, const char *name, int flags) |
| 0 when name matches pattern, FNM_NOMATCH when it does not | |
shell patterns ("*.c", "[a-z]?"): fnmatch is musl's (see src/libc/src/regex/README.md).
| #define FNM_PATHNAME 0x01 |
| #define FNM_NOESCAPE 0x02 |
| #define FNM_PERIOD 0x04 |
| #define FNM_LEADING_DIR 0x08 |
| #define FNM_CASEFOLD 0x10 |
| #define FNM_FILE_NAME FNM_PATHNAME |
| #define FNM_NOMATCH 1 |
| #define FNM_NOSYS (-1) |
| int fnmatch | ( | const char * | pattern, |
| const char * | name, | ||
| int | flags ) |
0 when name matches pattern, FNM_NOMATCH when it does not