summaryrefslogtreecommitdiff
path: root/include/fnmatch.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-07 20:10:31 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-07 20:10:31 +0100
commitfc00c656c96528112d05cf0edf8631bd5eaea446 (patch)
treea6e0e6c588191a8bd1c64afc3b7a258e3e66c236 /include/fnmatch.h
Add build system scaffolding and libc headers
Diffstat (limited to 'include/fnmatch.h')
-rw-r--r--include/fnmatch.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/fnmatch.h b/include/fnmatch.h
new file mode 100644
index 00000000..0f3c71be
--- /dev/null
+++ b/include/fnmatch.h
@@ -0,0 +1,13 @@
+#ifndef __FNMATCH_H__
+#define __FNMATCH_H__
+
+#define FNM_PATHNAME 0x1
+#define FNM_NOESCAPE 0x2
+#define FNM_PERIOD 0x4
+#define FNM_CASEFOLD 0x8
+#define FNM_NOMATCH 1
+#define FNM_IGNORECASE FNM_CASEFOLD
+
+int fnmatch(const char *, const char *, int);
+
+#endif