Determines if a wide character corresponds to a single-
byte multibyte character and returns its multibyte character
representation.
Format
#include <stdio.h>
#include <wchar.h>
int wctob (wint_t c);
Arguments
- c
- The wide character to be converted to a single-byte multibyte
character.
Description
This function determines whether the specified wide character
corresponds to a single-byte multibyte character when in the
initial shift state and, if so, returns its multibyte character
representation.
Return Values
| x | The single-byte representation
of the wide character specified. |
| EOF | Indicates an error. The wide character
specified does not correspond to a single-byte multibyte
character. |
Previous Page | Next Page | Table of Contents | Index