Compare two strings
#include <wchar.h>
int wcscmp( const wchar_t * ws1,
const wchar_t * ws2 );
libc
The wcscmp() function compares the string pointed to by ws1 to the string pointed to by ws2.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | Yes |
| Signal handler | Yes |
| Thread | Yes |
"String manipulation functions" and "Wide-character functions" in the summary of functions chapter.