SYNOPSIS
#include <stdio.h>
#include <wchar.h>
int wctob(wint_t c);
#include <locale.h>
int wctob_l(wint_t 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
px1_2001;.
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:
btowc() ,btowc_l() ,newlocale() ,setlocale()
PTC MKS Toolkit 10.4 Documentation Build 39.