[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 2

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

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.

Related Information

The mbschr subroutine, mbsrchr subroutine, wcschr (wcscat, wcschr, wcscmp, wcscpy, or wcscspn Subroutine) subroutine, wcscspn (wcscat, wcschr, wcscmp, wcscpy, or wcscspn Subroutine) subroutine, wcspbrk (wcspbrk Subroutine) subroutine, wcsspn (wcsspn Subroutine) subroutine, wcstok (wcstok Subroutine) subroutine, wcswcs (wcswcs Subroutine) subroutine.

Subroutines, Example Programs, and Libraries in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.

National Language Support Overview and Understanding Wide Character String Search Subroutines in AIX 5L Version 5.2 National Language Support Guide and Reference.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]