|
NAMEbtowc , wctob —
convert between wide and single-byte characters
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <wchar.h>
wint_t
int
wint_t
int
DESCRIPTIONThebtowc () function converts a single-byte character
into a corresponding wide character. If the character is
EOF or not valid in the initial shift state,
btowc () returns WEOF .
The The _l-suffixed versions take an explicit locale argument, while the non-suffixed versions use the current global or per-thread locale. SEE ALSOmbrtowc(3), multibyte(3), wcrtomb(3)STANDARDSThebtowc () and wctob ()
functions conform to IEEE Std 1003.1-2001
(“POSIX.1”).
HISTORYThebtowc () and wctob ()
functions first appeared in FreeBSD 5.0.
Visit the GSP FreeBSD Man Page Interface. |