Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

wctob - Convert wide character to (one-byte) multibyte character

&pagelevel(4)&pagelevel

Definition

#include <stdio.h>
#include <wchar.h>

int wctob(wint_t c);

The wctob function determines whether the character c corresponds to a member of the extended character set whose multibyte character representation is a single byte when in the initial shift state.

Return val.

EOF

if no corresponding multibyte character with length one in the initial shift state exists for c.


Multibyte character, with a length of 1 byte, that corresponds to c



otherwise.

See also

mblen, mbtowc, wcstombs, wctomb