aboutsummaryrefslogtreecommitdiff
path: root/system/lib/libc/musl/src/locale/strncasecmp_l.c
diff options
context:
space:
mode:
Diffstat (limited to 'system/lib/libc/musl/src/locale/strncasecmp_l.c')
-rw-r--r--system/lib/libc/musl/src/locale/strncasecmp_l.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/system/lib/libc/musl/src/locale/strncasecmp_l.c b/system/lib/libc/musl/src/locale/strncasecmp_l.c
new file mode 100644
index 00000000..af33ada6
--- /dev/null
+++ b/system/lib/libc/musl/src/locale/strncasecmp_l.c
@@ -0,0 +1,7 @@
+#include <strings.h>
+#include <locale.h>
+
+int strncasecmp_l(const char *l, const char *r, size_t n, locale_t loc)
+{
+ return strncasecmp(l, r, n);
+}