DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

wcsstr(S)


wcsstr, wcswcs -- find wide substring

Synopsis

#include <wchar.h>

wchar_t *wcsstr(const wchar_t *ws1, const wchar_t *ws2);

wchar_t *wcswcs(const wchar_t *ws1, const wchar_t *ws2);

Description

wcsstr locates the first occurrence in the wide character string pointed to by ws1 of the sequence of wide characters (excluding the terminating null wide character) pointed to by ws2.

Return values

Upon successful completion, wcsstr returns a pointer to the located wide character string, or a null pointer if the wide character string is not found.

wcsstr returns ws1 if ws2 points to a zero-length wide character string.

References

wchar(M), wcschr(S)

Notices

If the feature test macro _XOPEN_SOURCE is defined then the following synopsis is available with equivalent behavior:

wchar_t *wcswcs(const wchar_t *ws1, const wchar_t *ws2);


© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005