Locates first occurrence of a wide character in a string.
Standard C Library (libc.a)
wchar_t *wcswcs( WcString1, WcString2)
const wchar_t *WcString1, *WcString2;
The wcswcs subroutine locates the first occurrence, in the string pointed to by the WcString1 parameter, of a sequence of wchar_t characters (excluding the terminating wchar_t null character) from the string pointed to by the WcString2 parameter.
WcString1 | Points to the wide-character string being searched. |
WcString2 | Points to a wide-character string, which is a source string. |
The wcswcs subroutine returns a pointer to the located string, or a null value if the string is not found. If the WcString2 parameter points to a string with 0 length, the function returns the WcString1 value.
The mbspbrk subroutine, wcschr (wcscat, wcschr, wcscmp, wcscpy, or wcscspn Subroutine) subroutine, wcscspn (wcscat, wcschr, wcscmp, wcscpy, or wcscspn Subroutine) subroutine, wcspbrk (wcspbrk Subroutine) subroutine, wcsrchr (wcsrchr Subroutine) subroutine, wcsspn (wcsspn Subroutine) subroutine, wcstok (wcstok Subroutine) subroutine.
National Language Support Overview and Wide Character String Search Subroutines in AIX 5L Version 5.2 National Language Support Guide and Reference.
Subroutines, Example Programs, and Libraries in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs