![]() |
![]() |
![]() |
![]() |
Compare wide characters in two buffers
#include <wchar.h> int wmemcmp( const wchar_t * ws1, const wchar_t * ws2, size_t n );
libc
The memcmp() function compares n bytes of the buffer pointed to by ws1 to the buffer pointed to by ws2.
An integer, with the value given below:
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |
"Memory manipulation functions" and "Wide-character functions" in the summary of functions chapter.
![]() |
![]() |
![]() |
![]() |