Updated: April 19, 2023 |
Compare two wide-character strings, using the locale's collating sequence
#include <wchar.h> int wcscoll( const wchar_t * ws1, const wchar_t * ws2 );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The wcscoll() function compares the wide-character strings pointed to by ws1 and ws2, using the LC_COLLATE collating sequence selected by the setlocale() function.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | No |