]> pd.if.org Git - pdclib/blobdiff - functions/string/strcoll.c
Added some of <string.h>.
[pdclib] / functions / string / strcoll.c
diff --git a/functions/string/strcoll.c b/functions/string/strcoll.c
new file mode 100644 (file)
index 0000000..51fc59f
--- /dev/null
@@ -0,0 +1,18 @@
+/* $Id$ */
+
+/* Release $Name$ */
+
+/* strcoll( const char *, const char * )
+
+   This file is part of the Public Domain C Library (PDCLib).
+   Permission is granted to use, modify, and / or redistribute at will.
+*/
+
+/* TODO: Dummy function, PDCLib does not support locales yet. */
+
+int strcmp( const char * s1, const char * s2 );
+
+int strcoll( const char * s1, const char * s2 )
+{
+    return strcmp( s1, s2 );
+}