btowc
div
eof
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

btowc

Determine whether an integer represents a valid single-byte character in the initial shift state.

wint_t btowc(
   int c
);

c

Integer to test.

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.

Routine

Required header

btowc

<stdio.h> or <wchar.h>

For additional compatibility information, see Compatibility in the Introduction.

Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.

Show:
© 2016 Microsoft