FreeBSD kernel libkern code
|
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/ctype.h>
#include <sys/libkern.h>
Go to the source code of this file.
Macros | |
#define | EOS '\0' |
#define | RANGE_MATCH 1 |
#define | RANGE_NOMATCH 0 |
#define | RANGE_ERROR (-1) |
Functions | |
__FBSDID ("$BSDSUniX$") | |
static int | rangematch (const char *, char, int, char **) |
int | fnmatch (const char *pattern, const char *string, int flags) |
#define EOS '\0' |
Definition at line 45 of file fnmatch.c.
Referenced by fnmatch(), and rangematch().
#define RANGE_ERROR (-1) |
Definition at line 49 of file fnmatch.c.
Referenced by fnmatch(), and rangematch().
#define RANGE_MATCH 1 |
Definition at line 47 of file fnmatch.c.
Referenced by fnmatch(), and rangematch().
#define RANGE_NOMATCH 0 |
Definition at line 48 of file fnmatch.c.
Referenced by fnmatch(), and rangematch().
__FBSDID | ( | "$BSDSUniX$" | ) |
int fnmatch | ( | const char * | pattern, |
const char * | string, | ||
int | flags | ||
) |
Definition at line 54 of file fnmatch.c.
References c, EOS, index(), RANGE_ERROR, RANGE_MATCH, RANGE_NOMATCH, rangematch(), and tolower.
|
static |
Definition at line 157 of file fnmatch.c.
References c, EOS, RANGE_ERROR, RANGE_MATCH, RANGE_NOMATCH, and tolower.
Referenced by fnmatch().