aboutsummaryrefslogtreecommitdiff
path: root/src/common/libc/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/libc/string.c')
-rw-r--r--src/common/libc/string.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/libc/string.c b/src/common/libc/string.c
index d2a5f2f..90cea34 100644
--- a/src/common/libc/string.c
+++ b/src/common/libc/string.c
@@ -144,4 +144,9 @@ char *strndup(const char* str, size_t count) {
return ret;
}
+int strcoll(const char *s1, const char *s2) {
+ // TODO locale handling
+ return strcmp(s1, s2);
+}
+
/* vim: set ts=4 sw=4 tw=0 noet :*/