![]() |
![]() |
![]() |
Find the last occurrence of a wide character in a string
#include <wchar.h> wchar_t * wcsrchr( const wchar_t * ws, wchar_t wc );
libc
The wcsrchr() function finds the last 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.
![]() |
![]() |
![]() |