SYNOPSIS
#include <wchar.h>
int wcswidth(const wchar_t *pwcs, size_t n);
int wcswidth_l(const wchar_t *pwcs, size_t n, locale_t locale);
DESCRIPTION
The
PARAMETERS
- pwcs
-
The wide string to scan.
- n
-
The number of characters in pwcs to examine.
- 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
MULTITHREAD SAFETY LEVEL
MT-Safe, with exceptions.
The function
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:
iswprint() ,newlocale() ,setlocale() ,wcwidth() ,wcwidth_l()
PTC MKS Toolkit 10.5 Documentation Build 40.