Index of Section 3 Manual Pages
| Interix / SUA | wcsncasecmp.3 | Interix / SUA |
wcsncasecmp(3) wcsncasecmp(3)
wcscasecmp()
NAME
wcscasecmp(), wcsncasecmp() - compare wide-character strings, ignoring
case
SYNOPSIS
#include
int wcscasecmp (const wchar_t *ws1, const wchar_t *ws2)
int wcsncasecmp (const wchar_t *ws1, const wchar_t *ws2, size_t len)
DESCRIPTION
The wcscasecmp(3) and wcsncasecmp(3) functions compare the wide-character
strings ws1 and ws2 and return an integer greater than, equal to, or less
than 0, if ws1 is lexicographically greater than, equal to, or less than
ws2 (respectively), after translating each corresponding wide-character
code to lower-case. The strings themselves are not modified. The
comparison is done using wide-character codes, so that \200 is greater
than \0.
The wcsncasecmp(3) compares at most len characters.
SEE ALSO
bcmp(3)
memcmp(3)
wcscmp(3)
wcscoll(3)
wcsxfrm(3)
USAGE NOTES
All of these functions are thread safe.
None of these functions are async-signal safe.