wcsstr(3) Library Functions Manual wcsstr(3) wcsstr - LIBRARY Standard C library (libc, -lc) #include wchar_t *wcsstr(const wchar_t *haystack, const wchar_t *needle); The wcsstr() function is the wide-character equivalent of the strstr(3) function. It searches for the first occurrence of the wide-character string needle (without its terminating null wide character (L'\0')) as a substring in the wide-character string haystack. wcsstr() needle haystack. , needle haystack, NULL. , needle , haystack. attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |wcsstr() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ C11, POSIX.1-2008. POSIX.1-2001, C99. . strstr(3), wcschr(3) Azamat Hackimov Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . wcsstr(3)