![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Compare two wide-character strings, up to a given length
#include <wchar.h>
int wcsncmp( 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 wcsncmp() function compares up n wide characters from the strings pointed to by ws1 and ws2.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | Yes |
| Signal handler | Yes |
| Thread | Yes |
strcasecmp(), strcmp(), strcmpi(), strcoll(), stricmp(), strncasecmp(), strncmp(), strnicmp(), wcscmp(), wcscoll()
![]() |
![]() |
![]() |
![]() |