![]() |
![]() |
![]() |
Find one string inside another
#include <wchar.h> wchar_t * wcsstr( const wchar_t * ws1, const wchar_t * ws2 );
libc
The wcsstr() function locates the first occurrence in the string pointed to by ws1 of the sequence of wide characters, excluding the terminating NUL, in the string pointed to by ws2.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |
"Searching and sorting functions", "String manipulation functions", and "Wide-character functions" in the summary of functions chapter.
![]() |
![]() |
![]() |