Scroll to navigation

wctob(3) Library Functions Manual wctob(3)

BEZEICHNUNG

wctob - try to represent a wide character as a single byte

BIBLIOTHEK

Standard-C-Bibliothek (libc, -lc)

ÜBERSICHT

#include <wchar.h>
int wctob(wint_t c);

BESCHREIBUNG

The wctob() function tests whether the multibyte representation of the wide character c, starting in the initial state, consists of a single byte. If so, it is returned as an unsigned char.

Never use this function. It cannot help you in writing internationalized programs. Internationalized programs must never distinguish single-byte and multibyte characters.

RÜCKGABEWERT

The wctob() function returns the single-byte representation of c, if it exists, or EOF otherwise.

ATTRIBUTE

Siehe attributes(7) für eine Erläuterung der in diesem Abschnitt verwandten Ausdrücke.

Schnittstelle Attribut Wert
wctob() Multithread-Fähigkeit MT-Safe

STANDARDS

POSIX.1-2001, POSIX.1-2008, C99.

ANMERKUNGEN

The behavior of wctob() depends on the LC_CTYPE category of the current locale.

This function should never be used. Internationalized programs must never distinguish single-byte and multibyte characters. Use either wctomb(3) or the thread-safe wcrtomb(3) instead.

SIEHE AUCH

btowc(3), wcrtomb(3), wctomb(3)

ÜBERSETZUNG

Die deutsche Übersetzung dieser Handbuchseite wurde von

erstellt.

Diese Übersetzung ist Freie Dokumentation; lesen Sie die GNU General Public License Version 3 oder neuer bezüglich der Copyright-Bedingungen. Es wird KEINE HAFTUNG übernommen.

Wenn Sie Fehler in der Übersetzung dieser Handbuchseite finden, schicken Sie bitte eine E-Mail an die Mailingliste der Übersetzer.

15. Dezember 2022 Linux man-pages 6.03