WMEMCHR(3) BSD Programmer's Manual WMEMCHR(3)
wcscasecmp, wcscat, wcschr, wcscmp, wcscoll, wcscpy, wcscspn, wcsdup, wcsftime, wcslcat, wcslcpy, wcslen, wcsncasecmp, wcsncat, wcsncmp, wcsncpy, wcspbrk, wcsrchr, wcsspn, wcsstr, wcstod, wcstof, wcstol, wcstoll, wcstoul, wcstoull, wcswcs, wcsxfrm, wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset - wide character string manipulation operations
#include <wchar.h> int wcscasecmp(const wchar_t *, const wchar_t *); wchar_t * wcscat(wchar_t *s1, const wchar_t *s2); wchar_t * wcschr(const wchar_t *s, wchar_t c); int wcscmp(const wchar_t *s1, const wchar_t *s2); int wcscoll(const wchar_t *, const wchar_t *); wchar_t * wcscpy(wchar_t *s1, const wchar_t *s2); size_t wcscspn(const wchar_t *s1, const wchar_t *s2); wchar_t * wcsdup(const wchar_t *); size_t wcsftime(wchar_t *, size_t, const wchar_t *, const struct tm *); size_t wcslcat(wchar_t *s1, const wchar_t *s2, size_t n); size_t wcslcpy(wchar_t *s1, const wchar_t *s2, size_t n); size_t wcslen(const wchar_t *s); int wcsncasecmp(const wchar_t *, const wchar_t *, size_t); wchar_t * wcsncat(wchar_t *s1, const wchar_t *s2, size_t n); int wcsncmp(const wchar_t *s1, const wchar_t * s2, size_t n); wchar_t * wcsncpy(wchar_t *s1, const wchar_t *s2, size_t n); wchar_t * wcspbrk(const wchar_t *s1, const wchar_t *s2); wchar_t * wcsrchr(const wchar_t *s, wchar_t c); size_t wcsspn(const wchar_t *s1, const wchar_t *s2); wchar_t * wcsstr(const wchar_t *s1, const wchar_t *s2); double wcstod(const wchar_t *, wchar_t **); float wcstof(const wchar_t *, wchar_t **); long wcstol(const wchar_t *, wchar_t **, int); long long wcstoll(const wchar_t *, wchar_t **, int); unsigned long wcstoul(const wchar_t *, wchar_t **, int); unsigned long long wcstoull(const wchar_t *, wchar_t **, int); wchar_t * wcswcs(const wchar_t *, const wchar_t *); size_t wcsxfrm(wchar_t *, const wchar_t *, size_t); 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, wchar_t c, size_t n);
These functions implement string manipulation operations over wide char- acter strings. For a detailed description, refer to documents for the respective single-byte counterpart, such as memchr(3).
memchr(3), memcmp(3), memcpy(3), memmove(3), memset(3), strcasecmp(3), strcat(3), strchr(3), strcmp(3), strcoll(3), strcpy(3), strcspn(3), strdup(3), strftime(3), strlcat(3), strlcpy(3), strlen(3), strncasecmp(3), strncat(3), strncmp(3), strncpy(3), strndup(3), strpbrk(3), strrchr(3), strspn(3), strstr(3), strtod(3), strtol(3), strtoll(3), strtoul(3), strtoull(3), strxfrm(3)
These functions conform to ISO/IEC 9899:1999 ("ISO C99") and were first introduced in ISO/IEC 9899/AMD1:1995 ("ISO C90, Amendment 1"), with the exception of wcslcat() and wcslcpy(), which are BSD extensions. wcswcs() is a historic name for wcsstr(), programmers are urged to not use it in new code. wcstof() is a less-precise version of wcstod(). MirBSD #10-current November 30, 2014 2