Locates the first occurrence in the string pointed to by s1 of the sequence of wide characters in the string pointed to by s2.
#include <wchar.h>
wchar_t *wcsstr (const wchar_t *s1, const wchar_t
*s2);
Function Variants
This function also has variants named _wcsstr32 and _wcsstr64 for
use with 32-bit and 64-bit pointer sizes, respectively. See Section 1.8 for more information on using
pointer-size-specific functions.
| x | A pointer to the located string. |
| NULL | Indicates an error; the string was not found. |