Find the first occurrence of a wide character in a string
#include <wchar.h>
wchar_t * wcschr( const wchar_t * ws,
wchar_t wc );
libc
The wcschr() function finds the first occurrence of wc (converted to a wchar_t) in the string pointed to by ws. The terminating NUL character is considered to be part of the string.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | Yes |
| Signal handler | Yes |
| Thread | Yes |
"String manipulation functions" and "Wide-character functions" in the summary of functions chapter.