btowc()

determine if character is a valid character in initial shift state 

Function


SYNOPSIS

#include <stdio.h>

#include <wchar.h>

wint_t btowc(int c);


DESCRIPTION

The btowc() function determines whether the specified character constitutes a valid (one-byte) character in the initial shift state. The behavior of this function is affected by the LC_CTYPE category of the current locale.


PARAMETERS

c 

Is the character to test.


RETURN VALUES

The btowc() function returns WEOF if c has the value EOF or if c does not constitute a valid (one-byte) character in the initial shift state. Otherwise, it returns the wide character representation of the character.


CONFORMANCE

ANSI/ISO 9899-1990/AM 1-1995


MULTITHREAD SAFETY LEVEL

MT-Safe, with exceptions.

This function is MT-Safe as long as no thread calls setlocale() while this function is executing.


PORTING ISSUES

None.


AVAILABILITY

MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
setlocale(), wctob()


MKS Toolkit 9.3 Documentation Build 6.