X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fstrcoll.c;h=c89b8cfd3bdc88bc1829ad014a5b39a372d3a492;hb=19b4cc9a30c2ede7a0cd6c417b5f26851376b708;hp=898eeb565d49619a03092693979e8957a04f80c6;hpb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec;p=pdclib diff --git a/functions/string/strcoll.c b/functions/string/strcoll.c index 898eeb5..c89b8cf 100644 --- a/functions/string/strcoll.c +++ b/functions/string/strcoll.c @@ -5,4 +5,11 @@ // This code is Public Domain. Use, modify, and redistribute at will. // ---------------------------------------------------------------------------- -int strcoll( const char * s1, const char * s2 ) { /* TODO */ }; +// TODO: Dummy function, does not support locales. + +int strcmp( const char * src_1, const char * src_2 ); + +int strcoll( const char * src_1, const char * src_2 ) +{ + return strcmp( src_1, src_2 ); +}