wctrans
来自cppreference.com
|
|
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
| 在头文件 <wctype.h> 中定义
|
||
| wctrans_t wctrans( const char* str ); |
||
构造一个值类型wctrans_tLC_CTYPE类别的宽字符映射,它描述了。这可能是一个标准的映射,或特定语言环境的映射,如
"tojhira"或"tojkana".原文:
Constructs a value of type wctrans_t that describes a LC_CTYPE category of wide character mapping. It may be one of the standard mappings, or a locale-specific mapping, such as
"tojhira" or "tojkana".[编辑] 参数
| str | - | C字符串保持所需的映射的名称。
在所有的C语言环境
| ||||||||||||
[编辑] 返回值
wctrans_t对象适合使用towctrans宽字符映射到指定的映射的C语言环境或零,如果
str没有指定映射的C语言环境支持.原文:
wctrans_t object suitable for use with towctrans to map wide characters according to the named mapping of the current C locale or zero if
str does not name a mapping supported by the current C locale.[编辑] 另请参阅
| 执行字符映射根据指定LC_CTYPE测绘的类别 原文: performs character mapping according to the specified LC_CTYPE mapping category (函数) | |
| C++ documentation for wctrans
| |