Extracts a multibyte character from a multibyte character string.
Standard C Library (libc.a)
#include <mbstr.h>
mbchar_t mbstomb ( MbString)
const char *MbString;
The mbstomb subroutine extracts the multibyte character pointed to by the MbString parameter from the multibyte character string. The LC_CTYPE category affects the behavior of the mbstomb subroutine.
MbString | Contains a multibyte character string. |
The mbstomb subroutine returns the code point of the multibyte character as a mbchar_t data type. If an unusable multibyte character is encountered, a value of 0 is returned.
The mbschr Subroutine, mbspbrk Subroutine, mbsrchr 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.