aboutsummaryrefslogtreecommitdiffstats
path: root/missing_d/strcoll.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-11-25 21:22:47 +0200
committerArnold D. Robbins <arnold@skeeve.com>2010-11-25 21:22:47 +0200
commit286748e1a8500f647c3bccfb467b02bf3a37f398 (patch)
tree6385bb2f1ee6c0837204edfd307babceeae7f89a /missing_d/strcoll.c
parent50d4a80f67e5bcbf3902138d85a25f6a90847d31 (diff)
downloadegawk-286748e1a8500f647c3bccfb467b02bf3a37f398.tar.gz
egawk-286748e1a8500f647c3bccfb467b02bf3a37f398.tar.bz2
egawk-286748e1a8500f647c3bccfb467b02bf3a37f398.zip
Add POSIX string comparison with strcoll.
Diffstat (limited to 'missing_d/strcoll.c')
-rw-r--r--missing_d/strcoll.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/missing_d/strcoll.c b/missing_d/strcoll.c
new file mode 100644
index 00000000..ac65795e
--- /dev/null
+++ b/missing_d/strcoll.c
@@ -0,0 +1,7 @@
+/* replacement strcoll.c */
+
+int
+strcoll(const char *s1, const char *s2)
+{
+ return strcmp(s1, s2); /* nyah, nyah, so there */
+}