safec  3.2
Safe C Library - ISO TR24731 Bounds Checking Interface
wcsstr.c File Reference
#include "safe_str_lib.h"
+ Include dependency graph for wcsstr.c:

Functions

wchar_t * wcsstr (wchar_t *restrict dest, const wchar_t *restrict src)
 The wcsstr() function locates the first occurrence of the wide substring pointed to by src which would be located in the wide string pointed to by dest. More...
 

Function Documentation

◆ wcsstr()

wchar_t* wcsstr ( wchar_t *restrict  dest,
const wchar_t *restrict  src 
)

The wcsstr() function locates the first occurrence of the wide substring pointed to by src which would be located in the wide string pointed to by dest.

Remarks
EXTENSION TO
  • ISO/IEC TR 24731, Programming languages, environments and system software interfaces, Extensions to the C Library, Part I: Bounds-checking interfaces
Parameters
[in]destwide string to be searched for the substring
[in]srcpointer to the wide sub string
Precondition
Neither dest nor src shall be a null pointer.
Return values
pointerto the found substring, or NULL
See also
wcsstr_s(), strstr_s(), memcmp32_s()