summaryrefslogtreecommitdiff
path: root/src/strings/strncasecmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings/strncasecmp.c')
-rw-r--r--src/strings/strncasecmp.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/strings/strncasecmp.c b/src/strings/strncasecmp.c
new file mode 100644
index 00000000..8094ccd2
--- /dev/null
+++ b/src/strings/strncasecmp.c
@@ -0,0 +1,11 @@
+#include <strings.h>
+
+int strncasecmp(const char *s1, const char *s2, size_t n)
+{
+ return strncasecmp_l (s1, s2, n, (locale_t)0);
+}
+
+/*
+XOPEN(400)
+POSIX(200809)
+*/