ladybird/Userland/Libraries/LibC/fnmatch.cpp
Kenneth Myhra 8abfcb976d LibC: Add stub for fnmatch and a set of defined values
This adds a stub for fnmatch and the following defined values:
- FNM_PATHNAME
- FNM_NOESCAPE
- FNM_PERIOD
- FNM_FILE_NAME
- FNM_LEADING_DIR
- FNM_CASEFOLD
- FNM_EXTMATCH
2021-08-14 22:32:00 +01:00

15 lines
248 B
C++

/*
* Copyright (c) 2021, the SerenityOS developers
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/Format.h>
#include <fnmatch.h>
int fnmatch(char const*, char const*, int)
{
dbgln("FIXME: Implement fnmatch()");
return 0;
}