Manual Section... (3) - page: btowc
NAMEbtowc - convert single byte to wide character
#include <wchar.h> wint_t btowc(int c);
DESCRIPTIONThe btowc() function converts c, interpreted as a multibyte sequence of length 1, starting in the initial shift state, to a wide character and returns it. If c is EOF or not a valid multibyte sequence of length 1, the btowc() function returns WEOF.
RETURN VALUEThe btowc() function returns the wide character converted from the single byte c. If c is EOF or not a valid multibyte sequence of length 1, it returns WEOF.
CONFORMING TOC99, POSIX.1-2001.
NOTESThe behavior of btowc() depends on the LC_CTYPE category of the current locale.
SEE ALSOwctob(3), mbtowc(3)
COLOPHONThis page is part of release 3.24 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/.
This document was created by man2html, using the manual pages.
Time: 15:26:59 GMT, June 11, 2010