[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Base Operating System and Extensions Technical Reference, Volume 2

wcsrchr Subroutine


Locates a wchar_t character in a wide-character string.


Standard C Library (libc.a)


#include <wcstr.h>
wchar_t *wcsrchr (WcStringWideCharacter)
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.

Return Values

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.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

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.

[ Previous | Next | Contents | Glossary | Home | Search ]