2021-08-11 19:25:47 +02:00
|
|
|
/*
|
2021-10-04 11:54:23 +02:00
|
|
|
* Copyright (c) 2021, the SerenityOS developers.
|
2021-08-11 19:25:47 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2022-08-16 01:57:43 +10:00
|
|
|
#include <sys/cdefs.h>
|
2021-08-11 19:25:47 +02:00
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
2021-08-19 21:59:44 +02:00
|
|
|
#define FNM_NOMATCH 1
|
2021-08-11 19:25:47 +02:00
|
|
|
#define FNM_PATHNAME 1
|
|
|
|
|
#define FNM_NOESCAPE 2
|
|
|
|
|
#define FNM_PERIOD 4
|
|
|
|
|
#define FNM_FILE_NAME FNM_PATHNAME
|
|
|
|
|
#define FNM_LEADING_DIR 8
|
|
|
|
|
#define FNM_CASEFOLD 16
|
|
|
|
|
#define FNM_EXTMATCH 32
|
|
|
|
|
|
|
|
|
|
__BEGIN_DECLS
|
|
|
|
|
|
|
|
|
|
int fnmatch(char const* pattern, char const* string, int flags);
|
|
|
|
|
|
|
|
|
|
__END_DECLS
|