Namensräume
Varianten
Aktionen

btowc

Aus cppreference.com
< c‎ | string‎ | multibyte

 
 
 
Nullterminierten Multibyte Strings
Wide / Multibyte Konvertierungen
Original:
Wide/multibyte conversions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
mbsinit
Types
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
mbstate_t
 
Defined in header <wchar.h>
wint_t btowc( int c );
Weitet sich eine Single-Byte-Zeichen c seiner breiten Charakter entspricht .
Original:
Widens a single-byte character c to its wide character equivalent.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Die meisten Multibyte-Zeichenkodierung verwenden Single-Byte-Codes, um die Zeichen aus dem ASCII-Zeichensatz darstellen. Diese Funktion kann verwendet werden, um solche Schriftzeichen wchar_t umzuwandeln .
Original:
Most multibyte character encodings use single-byte codes to represent the characters from the ASCII character set. This function may be used to convert such characters to wchar_t.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Inhaltsverzeichnis

[Bearbeiten] Parameter

c -
Single-Byte-Zeichen zu erweitern
Original:
single-byte character to widen
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten] Rückgabewert

WEOF if c is EOF

Breitzeichen Darstellung c wenn (unsigned char)c ist eine gültige Single-Byte-Zeichen in der ursprünglichen Schaltzustand WEOF sonst .
Original:
wide character representation of c if (unsigned char)c is a valid single-byte character in the initial shift state, WEOF otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten] Beispiel

[Bearbeiten] Siehe auch

verengt eine breite Charakter zu einem Single-Byte engen Charakter, wenn möglich
Original:
narrows a wide character to a single-byte narrow character, if possible
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]