VMS Help
CRTL, wcsstr
*Conan The Librarian
|
Locates the first occurrence in the string pointed to by s1 of
the sequence of wide characters in the string pointed to by s2.
Format
#include <wchar.h>
wchar_t *wcsstr (const wchar_t *s1, const wchar_t *s2);
The wcsstr function has variants named _wcsstr32 and _wcsstr64
for use with 32-bit and 64-bit pointer sizes, respectively.
s1, s2
Pointers to null-terminated, wide-character strings.
If s2 points to a wide-character string of 0 length, the wcsstr
function returns s1.
x A pointer to the located string.
NULL Indicates an error; the string was not found.