Query: wcsstr
OS: osf1
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
wcsstr(3) Library Functions Manual wcsstr(3)NAMEwcsstr - Finds a wide-character substringLIBRARYStandard C Library (libc)SYNOPSIS#include <wchar.h> wchar_t *wcsstr( const wchar_t *s1, const wchar_t *s2);STANDARDSInterfaces documented on this reference page conform to industry standards as follows: wcsstr(): XSH5.0 Refer to the standards(5) reference page for more information about industry standards and associated tags.PARAMETERSSpecifies the wide-character string being searched. Specifies the wide-character substring to be located.DESCRIPTIONThe wcsstr() function locates the first occurrence in the wide-character string pointed to by the s1 parameter of the sequence of wide characters in the wide-character string pointed to by the s2 parameter, excluding the terminating null wide character.RETURN VALUESUpon successful completion, the wcsstr() function returns a pointer to the located wide-character substring or a null pointer when the sub- string is not found. If the s2 parameter points to a wide-character substring having 0 (zero) length, the wcsstr() function returns the entire wide-character string pointed to by parameter s1. [Tru64 UNIX] On error, the function returns a null pointer.RELATED INFORMATIONFunctions: strstr(3), wcswcs(3) Standards: standards(5) delim off wcsstr(3)