This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [libstdc++] Transforming a string to a primary sort key


On Fri, Mar 28, 2014 at 2:23 PM, Tim Shen <timshen91@gmail.com> wrote:
>     printf("%d\n", wcscmp(buff1, buff2) == wcscoll(st1, st2));

This line may be misleading. To be clearer, in my GNU/Linux machine,
wcscmp returns 0 and wcscoll return 7.


-- 
Regards,
Tim Shen


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]