SYNOPSIS
#include <stdio.h>
#include <wchar.h>
wint_t btowc(int c);
#include <wchar.h>
#include <locale.h>
wint_t btowc_l(int c, locale_t locale);
DESCRIPTION
The
The _l-suffixed version take an explicit locale argument, while the non- suffixed versions use the current global or per-thread locale.
PARAMETERS
- c
-
Is the character to test.
- locale
-
Is a locale_t perhaps returned by
newlocale() or LC_GLOBAL_LOCALE or 0 for the current thread locale set withuselocale() .
RETURN VALUES
The
CONFORMANCE
IEEE Std 1003.1-2001 'POSIX.1'.
MULTITHREAD SAFETY LEVEL
MT-Safe, with exceptions.
The
The function
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
newlocale() ,setlocale() ,wctob() ,wctob_l()
PTC MKS Toolkit 10.4 Documentation Build 39.