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 1-byte multi-byte character

&pagelevel(4)&pagelevel

Syntax

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

int wctob(wint_t c);


wctob() tests if the character c corresponds to an element of the extended character set whose multi-byte representation consists of one byte in the “initial shift“ state.

Return val.

EOF

if no corresponding multi-byte character of length one exists in the “initial shift“ state for c.

Otherwise the multi-byte character of length one that corresponds to c.

See also

mblen(), mbtowc(), wcstombs(), wctomb()