Determine whether an integer represents a valid single-byte character in the initial shift state.
#include <wchar.h> int btowc(int c);
c
Returns the wide-character representation of the character if the integer represents a valid single-byte character in the initial shift state. Returns WEOF if the integer is EOF or is not a valid single-byte character in the initial shift state. The output of this function is affected by the current LC_TYPE locale.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 6.0 | intime/rt/include/wchar.h | wchar.h | clib.lib |