wcsrchr Subroutine

Purpose

Locates a wchar_t character in a wide-character string.

Library

Standard C Library (libc.a)

Syntax

#include <wcstr.h>

wchar_t *wcsrchr ( WcString WideCharacter)
const wchar_t *WcString;
wint_t WideCharacter;

Description

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.

Parameters

Item Description
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.