[ Previous | Next | Table of 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.

Implementation Specifics

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

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.

National Language Support Overview for Programming, Subroutines Overview, Understanding Wide Character String Search Subroutines in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.


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