aboutsummaryrefslogtreecommitdiff
path: root/system/lib/libc/musl/src/locale/strcasecmp_l.c
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2013-12-01 21:42:26 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2014-01-13 17:59:15 +0700
commit4353f5df1e4bae2a3d579a5c205b800bcc2d8d39 (patch)
treefb503cf12bd89a7eb3dbbb06a8612cfe6c859c35 /system/lib/libc/musl/src/locale/strcasecmp_l.c
parent5d078cbbd7d4319ed6a852e14bf3e45f58a99511 (diff)
Missing string.h functionality.
Diffstat (limited to 'system/lib/libc/musl/src/locale/strcasecmp_l.c')
-rw-r--r--system/lib/libc/musl/src/locale/strcasecmp_l.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/system/lib/libc/musl/src/locale/strcasecmp_l.c b/system/lib/libc/musl/src/locale/strcasecmp_l.c
new file mode 100644
index 00000000..eea2f80b
--- /dev/null
+++ b/system/lib/libc/musl/src/locale/strcasecmp_l.c
@@ -0,0 +1,7 @@
+#include <strings.h>
+#include <ctype.h>
+
+int strcasecmp_l(const char *l, const char *r, locale_t loc)
+{
+ return strcasecmp(l, r);
+}