X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstring%2Fstrcoll.c;h=c89b8cfd3bdc88bc1829ad014a5b39a372d3a492;hp=80ecbdff24d4977add1e4a88d85d1f51fb42757a;hb=19b4cc9a30c2ede7a0cd6c417b5f26851376b708;hpb=419762f3c5da2a601e3c7427e25ae01293a73223 diff --git a/functions/string/strcoll.c b/functions/string/strcoll.c index 80ecbdf..c89b8cf 100644 --- a/functions/string/strcoll.c +++ b/functions/string/strcoll.c @@ -5,10 +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. -/* PDPC code - unreviewed +int strcmp( const char * src_1, const char * src_2 ); + +int strcoll( const char * src_1, const char * src_2 ) { - return (strcmp(s1, s2)); + return strcmp( src_1, src_2 ); } -*/