加入收藏
举报
当前仅显示指定条件回帖 [ 展开查看全部 ]
02-14 20:02
#
文件名称:
locale-h.md
所在目录:
Openharmony v1.0 / docs / api / api-SmartVision-Devices
文件大小:
7.62 KB
下载地址:
fenwii/OpenHarmony
   
免责声明:本网站仅提供指向 GitHub 上的文件的链接,所有文件的版权归原作者所有,本网站不对文件内容的合法性、准确性或安全性承担任何责任。
文本预览:
# locale.h
## **Overview**
**Related Modules:**
[IO](IO.md)
**Description:**
Provides functions to set and obtain the locale language environment.
**Since:**
1.0
**Version:**
1.0
## **Summary**
## Data Structures









Data Structure Name


Description


lconv


Indicates format information about a number.



## Macros



























Macro Name and Value


Description


LC_CTYPE   0


Language symbol type, which affects character classification and case conversion.


LC_NUMERIC   1


Number type, which affects the number format.


LC_TIME   2


Time type, which affects date and time formats.


LC_COLLATE   3


Character sorting type, which affects string comparison and sorting habits.


LC_MONETARY   4


Monetary type, which affects monetary information.


LC_MESSAGES   5


Message type, which affects prompt information, error information, status information, titles, labels, buttons, and menus.


LC_ALL   6


All types, which affect all content of locale settings. If LC_ALL is set, the locale information of all types is set to be consistent with LC_ALL.



## Functions












Function Name


Description


setlocale (int category, const char *locale)


char * 


Sets the current locale information based on input parameters.


localeconv (void)


struct lconv


Obtains the locale information about a region and stores them in lconv.


点赞 回复
回帖
支持markdown部分语法 ?