Locates a wchar_t character in a wide-character string.
#include <wcstr.h>
wchar_t *wcsrchr (WcString, WideCharacter) const wchar_t *WcString; wint_t WideCharacter;
The wcsrchr subroutine locates the last occurrence of the WideCharacter value in the string pointed to by the WcString parameter. The terminating wchar_t null character is considered to be part of the string.
WcString | Points to a string. |
WideCharacter | Specifies a wchar_t character. |
The wcsrchr subroutine returns a pointer to the WideCharacter parameter value, or a null pointer if that value does not occur in the specified string.
This subroutine is part of Base Operating System (BOS) Runtime.
The mbschr subroutine, mbsrchr subroutine, wcschr subroutine, wcscspn subroutine, wcspbrk subroutine, wcsspn subroutine, wcstok subroutine, wcswcs subroutine.
National Language Support Overview for Programming, Subroutines Overview, Understanding Wide Character String Search Subroutines in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.