wmemstring(3S)
wmemstring: wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset - wide character array functions
As shipped in IRIX 6.5.22. Added in IRIX 6.5.19.
NAME wmemstring: wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset - wide character array functions SYNOPSIS #include <wchar.h> wchar_t *wmemchr (const wchar_t *s, wchar_t c, size_t n); int wmemcmp (const wchar_t *s1, const wchar_t *s2, size_t n); wchar_t *wmemcpy (wchar_t *s1, const wchar_t *s2, size_t n); wchar_t *wmemmove (wchar_t *s1, const wchar_t *s2, size_t n); wchar_t *wmemset (wchar_t *s, const wchar_t c, size_t n); DESCRIPTION The wmemchr function finds the location of the first occurrence of c wide character in the initial n wide characters of the wide character string object pointed to by s. The function returns a pointer to the located wide character, or it returns a null pointer if it does not encounter the wide character in the wide character string object. The wmemcmp function compares the first n wide characters of the wide character string object pointed to by s1 to the first n wide characters of the wide character string object pointed to by s2. The function returns an integer greater than, equal to, or less than zero, accordingly as the wide character string object pointed to by s1 is greater than, equal to, or less than the wide character string object pointed to by s2. The wmemcpy function copies n wide characters from the wide character string object pointed to by s2 to the wide character string object pointed to by s1. The function returns the value of s1. The wmemmove function copies n wide characters from the wide character string object pointed to by s2 to the wide character string object pointed to by s1. Even if the two wide character strings are overlapped, the wide character string object pointed to by s2 is copied to the wide character string object pointed to by s1 correctly. The function returns the value of s1. The wmemset function copies the wide character value of c into each of the first n wide characters of the wide character string object pointed to by s. The function returns the value of s. NOTES Those functions are supported in n32 and 64 bit C Libraries for IRIX 6.5.17 and later versions. SEE ALSO mbchar(3C), mbstring(3C), mbrchar(3S), mbrstring(3S), <wchar.h>.