summaryrefslogtreecommitdiff
path: root/src/locale/strncasecmp_l.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale/strncasecmp_l.c')
-rw-r--r--src/locale/strncasecmp_l.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/locale/strncasecmp_l.c b/src/locale/strncasecmp_l.c
new file mode 100644
index 00000000..af33ada6
--- /dev/null
+++ b/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);
+}