SysTutorials

Man Pages › Section 3

wcsstr(3)

wcsstr – locate a substring in a wide-character string

Synopsis

#include <wchar.h>

wchar_t *wcsstr(const wchar_t *haystack, const wchar_t *needle);

Description

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’