| WCSSTR(3) | Library Functions Manual | WCSSTR(3) |
wcsstr — locate a
wide substring in a wide string
#include
<wchar.h>
wchar_t *
wcsstr(const
wchar_t *big, const
wchar_t *little);
The
wcsstr()
function locates the first occurrence of the wide string
little in the wide string
big.
If little is an empty wide string,
big is returned; if little
occurs nowhere in big, NULL is
returned; otherwise a pointer to the first wide character of the first
occurrence of little is returned.
strstr(3), wcschr(3), wcscspn(3), wcspbrk(3), wcsrchr(3), wcsspn(3), wcstok(3), wmemchr(3)
The wcsstr() function conforms to
ISO/IEC 9899:1999 (“ISO C99”)
and was first introduced in ISO/IEC 9899/AMD1:1995
(“ISO C90, Amendment 1”).
The wcsstr() function was ported from
NetBSD and first appeared in
OpenBSD 3.8.
| June 5, 2013 | Debian |