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

Technical Reference: Base Operating System and Extensions, Volume 1

mbsrchr Subroutine

Purpose

Locates a character or code point in a multibyte character string.

Library

Standard C Library (libc.a)

Syntax

#include <mbstr.h>


char *mbsrchr( MbString MbCharacter)
char *MbString;
int MbCharacter;

Description

The mbschr subroutine locates the last occurrence of the MbCharacter parameter in the string pointed to by the MbString parameter. The MbCharacter parameter is a multibyte character represented as an integer. The terminating null character is considered to be part of the string.

Parameters

MbString Points to a multibyte character string.
MbCharacter Specifies a multibyte character represented as an integer.

Return Values

The mbsrchr subroutine returns a pointer to the MbCharacter parameter within the multibyte character string. It returns a null pointer if MbCharacter does not occur in the string.

Related Information

The mbschr Subroutine, mbspbrk Subroutine, mbstomb Subroutine, wcsrchr subroutine.

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

National Language Support Overview 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 ]