Name
wctob function — Converts a wide character to a single byte
Synopsis
int wctob(wint_t wc)
If the wide character wc
has a single-byte representation as a multibyte character, wctob
returns that byte; otherwise, it
returns EOF
.
See Also
btowc function,
EOF
in <cstdio>
, codecvt
in <locale>
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.