<wchar.h>
wchar.h is a header file in the C Standard Library, part of a 1995 extension to the C programming language standard. It contains extended multibyte and wide character utilities.
Functions
• int wcscmp(const wchar_t *s1, const wchar_t *s2)
is the wide-character equivalent of the strcmp(3) function. It compares the wide-character string pointed to by s1 and the wide-character string pointed to by s2.
• int wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n)
is the wide-character equivalent of the strncmp function. It is similar to wcscmp(), except it only compares the first n characters of s1.
• int wcscasecmp(const wchar_t *s1, const wchar_t *s2)
is the wide-character equivalent of the strcasecmp(3) function. It compares the wide-character string pointed to by s1 and the wide-character string pointed to by s2, ignoring case differences.
• int wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n)
is similar to wcscasecmp(), except it only compares the first n characters of s1.
wchar.h is a header file in the C Standard Library, part of a 1995 extension to the C programming language standard. It contains extended multibyte and wide character utilities.
Functions
• int wcscmp(const wchar_t *s1, const wchar_t *s2)
is the wide-character equivalent of the strcmp(3) function. It compares the wide-character string pointed to by s1 and the wide-character string pointed to by s2.
• int wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n)
is the wide-character equivalent of the strncmp function. It is similar to wcscmp(), except it only compares the first n characters of s1.
• int wcscasecmp(const wchar_t *s1, const wchar_t *s2)
is the wide-character equivalent of the strcasecmp(3) function. It compares the wide-character string pointed to by s1 and the wide-character string pointed to by s2, ignoring case differences.
• int wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n)
is similar to wcscasecmp(), except it only compares the first n characters of s1.
0 comments:
Post a Comment