mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:47:35 +00:00
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
This commit is contained in:
parent
8d19d8861a
commit
8abfcb976d
3 changed files with 38 additions and 0 deletions
14
Userland/Libraries/LibC/fnmatch.cpp
Normal file
14
Userland/Libraries/LibC/fnmatch.cpp
Normal file
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue