about summary refs log tree commit diff
path: root/src/locale/strcoll_l.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-02-06 21:51:02 -0500
committerRich Felker <dalias@aerifal.cx>2012-02-06 21:51:02 -0500
commit36bf56940af90baa478dd1258884291d5d213d10 (patch)
treef959d61ee79470575a2921e568442ec9c0b11b6e /src/locale/strcoll_l.c
parentc09b6f8ab6edefba52183f8c5ecf6520a8b7ad8f (diff)
downloadmusl-36bf56940af90baa478dd1258884291d5d213d10.tar.gz
musl-36bf56940af90baa478dd1258884291d5d213d10.tar.xz
musl-36bf56940af90baa478dd1258884291d5d213d10.zip
more locale_t interfaces (string stuff) and header updates
this should be everything except for some functions where the non-_l
version isn't even implemented yet (mainly some non-ISO-C wcs*
functions).
Diffstat (limited to 'src/locale/strcoll_l.c')
-rw-r--r--src/locale/strcoll_l.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/locale/strcoll_l.c b/src/locale/strcoll_l.c
new file mode 100644
index 00000000..7948b0d1
--- /dev/null
+++ b/src/locale/strcoll_l.c
@@ -0,0 +1,7 @@
+#include <string.h>
+#include <locale.h>
+
+int strcoll_l(const char *l, const char *r, locale_t loc)
+{
+	return strcoll(l, r);
+}