Locates a character or code point in a multibyte character string.
#include <mbstr.h>
char *mbsrchr( MbString, MbCharacter)
char *MbString;
int MbCharacter;
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.
MbString | Points to a multibyte character string. |
MbCharacter | Specifies a multibyte character represented as an integer. |
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.
This subroutine is part of Base Operating System (BOS) Runtime.
The mbschr (mbschr Subroutine) subroutine, mbspbrk (mbspbrk Subroutine) subroutine, mbstomb (mbstomb Subroutine) subroutine, wcsrchr subroutine.
National Language Support Overview for Programming, Subroutines Overview in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.