Extracts a multibyte character from a multibyte character string.
Note: The mbstomb subroutine is specific to the manufacturer. It is not defined in the POSIX, ANSI, or X/Open standards. Use of this subroutine may affect portability.
Standard C Library (libc.a)
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.
This subroutine is part of Base Operating System (BOS) Runtime.
The mbschr (mbschr Subroutine) subroutine, mbspbrk (mbspbrk Subroutine) subroutine, mbsrchr (mbsrchr Subroutine) subroutine.
National Language Support Overview for Programming, Subroutines Overview in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.