| Updated: October 28, 2024 | 
Compare the wide characters in two buffers
#include <wchar.h>
int wmemcmp( const wchar_t * ws1,
             const wchar_t * ws2,
             size_t n );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The wmemcmp() function compares n wide characters of the buffer pointed to by ws1 to those in the buffer pointed to by ws2.
| Safety: | |
|---|---|
| Cancellation point | No | 
| Interrupt handler | Yes | 
| Signal handler | Yes | 
| Thread | Yes |