TCHAR一般文本函数映射表

2023-11-23 17:08

本文主要是介绍TCHAR一般文本函数映射表,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

摘自MSDN:
https://msdn.microsoft.com/zh-cn/library/tsbaswba.aspx

若要了解有关 Visual Studio 2017 RC 的最新文档,请参阅 Visual Studio 2017 RC 文档。

TCHAR.H 中定义了一般文本函数映射。 _tccpy 和 _tclen 映射到 MBCS 模型中的函数;出于完整性的考虑,它们将映射到 SBCS 和 Unicode 模型中的宏或内联函数。 有关一般文本函数的信息,请参见与相应的 SBCS、_MBCS 或 _UNICODE 相关的函数的帮助主题。

本文档中未提供有关下表左列中列出的单个函数的更多特定信息。 但是,您可以轻松查找有关与相应的 SBCS、_MBCS 或 _UNICODE 相关的函数的信息。 使用搜索命令帮助菜单以查找下面列出的任何一般文本函数。

有关相关信息,请参阅 TCHAR.H中的一般文本映射

一般文本函数映射

一般文本函数名称SBCS(未定义的 _UNICODE 和 MBCS)已定义 _MBCS已定义 _UNICODE
_cgetts_cgets_cgets_cgetws
_cgetts_s_cgets_s_cgets_s_cgetws_s
_cputts_cputs_cputs_cputws
_fgettcfgetcfgetcfgetwc
_fgettchar_fgetchar_fgetchar_fgetwchar
_fgettsfgetsfgetsfgetws
_fputtcfputcfputcfputwc
_fputtchar_fputchar_fputchar_fputwchar
_fputtsfputsfputsfputws
_ftprintffprintffprintffwprintf
_ftprintf_sfprintf_sfprintf_sfwprintf_s
_ftscanffscanffscanffwscanf
_ftscanf_sfscanf_sfscanf_sfwscanf_s
_gettcgetcgetcgetwc
_gettch_getch_getch_getwch
_gettchargetchargetchargetwchar
_gettche_getche_getche_getwche
_gettsgetsgetsgetws
_getts_sgets_sgets_sgetws_s
_istalnumisalnum_ismbcalnumiswalnum
_istalphaisalpha_ismbcalphaiswalpha
_istasciiisasciiisasciiiswascii
_istcntrliscntrliscntrliswcntrl
_istdigitisdigit_ismbcdigitiswdigit
_istgraphisgraph_ismbcgraphiswgraph
_istlead始终返回 false_ismbblead始终返回 false
_istleadbyte始终返回 falseisleadbyte始终返回 false
_istlegal始终返回 true_ismbclegal始终返回 true
_istlowerislower_ismbcloweriswlower
_istprintisprint_ismbcprintiswprint
_istpunctispunct_ismbcpunctiswpunct
_istspaceisspace_ismbcspaceiswspace
_istupperisupper_ismbcupperiswupper
_istxdigitisxdigitisxdigitiswxdigit
_itot_itoa_itoa_itow
_itot_s_itoa_s_itoa_s_itow_s
_ltot_ltoa_ltoa_ltow
_ltot_s_ltoa_s_ltoa_s_ltow_s
_puttcputcputcputwc
_puttch_putch_putch_putwch
_puttcharputcharputcharputwchar
_puttsputsputs_putws
_sctprintf_scprintf_scprintf_scwprintf
_sntprintf_snprintf_snprintf_snwprintf
_sntprintf_s_snprintf_s_snprintf_s_snwprintf_s
_sntscanf_snscanf_snscanf_snwscanf
_sntscanf_s_snscanf_s_snscanf_s_snwscanf_s
_stprintfsprintfsprintfswprintf
_stprintf_ssprintf_ssprintf_sswprintf_s
_stscanfsscanfsscanfswscanf
_stscanf_ssscanf_ssscanf_sswscanf_s
_taccess_access_access_waccess
_taccess_s_access_s_access_s_waccess_s
_tasctimeasctimeasctime_wasctime
_tasctime_sasctime_sasctime_s_wasctime_s
_tccmp映射到宏或内联函数_mbsncmp映射到宏或内联函数
_tccpy映射到宏或内联函数_mbccpy映射到宏或内联函数
_tccpy_sstrcpy_s_mbccpy_swcscpy_s
_tchdir_chdir_chdir_wchdir
_tclen映射到宏或内联函数_mbclen映射到宏或内联函数
_tchmod_chmod_chmod_wchmod
_tcprintf_cprintf_cprintf_cwprintf
_tcprintf_s_cprintf_s_cprintf_s_cwprintf_s
_tcreat_creat_creat_wcreat
_tcscanf_cscanf_cscanf_cwscanf
_tcscanf_s_cscanf_s_cscanf_s_cwscanf_s
_tcscatstrcat_mbscatwcscat
_tcscat_sstrcat_s_mbscat_swcscat_s
_tcschrstrchr_mbschrwcschr
_tcsclenstrlen_mbslenwcslen
_tcsclen_sstrlen_s_mbslen_swcslen_s
_tcscmpstrcmp_mbscmpwcscmp
_tcscollstrcoll_mbscollwcscoll
_tcscpystrcpy_mbscpywcscpy
_tcscpy_sstrcpy_s_mbscpy_swcscpy_s
_tcscspnstrcspn_mbscspnwcscspn
_tcsdec_strdec_mbsdec_wcsdec
_tcsdup_strdup_mbsdup_wcsdup
_tcserrorstrerrorstrerror_wcserror
_tcserror_sstrerror_sstrerror_s_wcserror_s
_tcsftimestrftimestrftimewcsftime
_tcsicmp_stricmp_mbsicmp_wcsicmp
_tcsicoll_stricoll_mbsicoll_wcsicoll
_tcsinc_strinc_mbsinc_wcsinc
_tcslenstrlenstrlenwcslen
_tcslwr_strlwr_mbslwr_wcslwr
_tcslwr_s_strlwr_s_mbslwr_s_wcslwr_s
_tcsnbcnt_strncnt_mbsnbcnt_wcsncnt
_tcsncatstrncat_mbsnbcatwcsncat
_tcsncat_sstrncat_s_mbsnbcat_swcsncat_s
_tcsnccatstrncat_mbsncatwcsncat
_tcsnccmpstrncmp_mbsncmpwcsncmp
_tcsnccmp_sstrncmp_s_mbsncmp_swcsncmp_s
_tcsnccoll_strncoll_mbsncoll_wcsncoll
_tcsncmpstrncmp_mbsnbcmpwcsncmp
_tcsnccnt_strncnt_mbsnccnt_wcsncnt
_tcsnccpystrncpy_mbsncpywcsncpy
_tcsnccpy_sstrncpy_s_mbsncpy_swcsncpy_s
_tcsncicmp_strnicmp_mbsnicmp_wcsnicmp
_tcsncicoll_strnicoll_mbsnicoll_wcsnicoll
_tcsncpystrncpy_mbsnbcpywcsncpy
_tcsncpy_sstrncpy_s_mbsnbcpy_swcsncpy_s
_tcsncset_strnset_mbsnset_wcsnset
_tcsnextc_strnextc_mbsnextc_wcsnextc
_tcsnicmp_strnicmp_mbsnbicmp_wcsnicmp
_tcsnicoll_strnicoll_mbsnbicoll_wcsnicoll
_tcsninc_strninc_mbsninc_wcsninc
_tcsnccnt_strncnt_mbsnccnt_wcsncnt
_tcsnset_strnset_mbsnbset_wcsnset
_tcspbrkstrpbrk_mbspbrkwcspbrk
_tcsspnp_strspnp_mbsspnp_wcsspnp
_tcsrchrstrrchr_mbsrchrwcsrchr
_tcsrev_strrev_mbsrev_wcsrev
_tcsset_strset_mbsset_wcsset
_tcsspnstrspn_mbsspnwcsspn
_tcsstrstrstr_mbsstrwcsstr
_tcstodstrtodstrtodwcstod
_tcstoi64_strtoi64_strtoi64_wcstoi64
_tcstokstrtok_mbstokwcstok
_tcstok_sstrtok_s_mbstok_swcstok_s
_tcstolstrtolstrtolwcstol
_tcstoui64_strtoui64_strtoui64_wcstoui64
_tcstoulstrtoulstrtoulwcstoul
_tcsupr_strupr_mbsupr_wcsupr
_tcsupr_s_strupr_s_mbsupr_s_wcsupr_s
_tcsxfrmstrxfrmstrxfrmwcsxfrm
_tctimectimectime_wctime
_tctime_sctime_sctime_s_wctime_s
_tctime32_ctime32_ctime32_wctime32
_tctime32_s_ctime32_s_ctime32_s_wctime32_s
_tctime64_ctime64_ctime64_wctime64
_tctime64_s_ctime64_s_ctime64_s_wctime64_s
_texecl_execl_execl_wexecl
_texecle_execle_execle_wexecle
_texeclp_execlp_execlp_wexeclp
_texeclpe_execlpe_execlpe_wexeclpe
_texecv_execv_execv_wexecv
_texecve_execve_execve_wexecve
_texecvp_execvp_execvp_wexecvp
_texecvpe_execvpe_execvpe_wexecvpe
_tfdopen_fdopen_fdopen_wfdopen
_tfindfirst_findfirst_findfirst_wfindfirst
_tfindnext_findnext_findnext_wfindnext
_tfindnext32_findnext32_findnext32_wfindnext32
_tfindnext64_findnext64_findnext64_wfindnext64
_tfindnexti64_findnexti64_findnexti64_wfindnexti64
_tfindnexti6432_findnexti6432_findnexti6432_wfindnexti6432
_tfindnext32i64_findnext32i64_findnext32i64_wfindnext32i64
_tfopenfopenfopen_wfopen
_tfopen_sfopen_sfopen_s_wfopen_s
_tfreopenfreopenfreopen_wfreopen
_tfreopen_sfreopen_sfreopen_s_wfreopen_s
_tfsopen_fsopen_fsopen_wfsopen
_tfullpath_fullpath_fullpath_wfullpath
_tgetcwd_getcwd_getcwd_wgetcwd
_tgetdcwd_getdcwd_getdcwd_wgetdcwd
_tgetenvgetenvgetenv_wgetenv
_tgetenv_sgetenv_sgetenv_s_wgetenv_s
_tmainmainmainwmain
_tmakepath_makepath_makepath_wmakepath
_tmakepath_s_makepath_s_makepath_s_wmakepath_s
_tmkdir_mkdir_mkdir_wmkdir
_tmktemp_mktemp_mktemp_wmktemp
_tmktemp_s_mktemp_s_mktemp_s_wmktemp_s
_topen_open_open_wopen
_topen_s_open_s_open_s_wopen_s
_totlowertolower_mbctolowertowlower
_totuppertoupper_mbctouppertowupper
_tperrorperrorperror_wperror
_tpopen_popen_popen_wpopen
_tprintfprintfprintfwprintf
_tprintf_sprintf_sprintf_swprintf_s
_tputenv_putenv_putenv_wputenv
_tputenv_s_putenv_s_putenv_s_wputenv_s
_tremoveremoveremove_wremove
_trenamerenamerename_wrename
_trmdir_rmdir_rmdir_wrmdir
_tsearchenv_searchenv_searchenv_wsearchenv
_tsearchenv_s_searchenv_s_searchenv_s_wsearchenv_s
_tscanfscanfscanfwscanf
_tscanf_sscanf_sscanf_swscanf_s
_tsetlocalesetlocalesetlocale_wsetlocale
_tsopen_sopen_sopen_wsopen
_tsopen_s_sopen_s_sopen_s_wsopen_s
_tspawnl_spawnl_spawnl_wspawnl
_tspawnle_spawnle_spawnle_wspawnle
_tspawnlp_spawnlp_spawnlp_wspawnlp
_tspawnlpe_spawnlpe_spawnlpe_wspawnlpe
_tspawnv_spawnv_spawnv_wspawnv
_tspawnve_spawnve_spawnve_wspawnve
_tspawnvp_spawnvp_spawnvp_wspawnvp
_tspawnvpe_spawnvpe_spawnvpe_wspawnvpe
_tsplitpath_splitpath_splitpath_wsplitpath
_tstat_stat_stat_wstat
_tstat32_stat32_stat32_wstat32
_tstati32_stati32_stati32_wstati32
_tstat64_stat64_stat64_wstat64
_tstati64_stati64_stati64_wstati64
_tstofatofatof_wtof
_tstoiatoiatoi_wtoi
_tstoi64_atoi64_atoi64_wtoi64
_tstolatolatol_wtol
_tstrdate_strdate_strdate_wstrdate
_tstrdate_s_strdate_s_strdate_s_wstrdate_s
_tstrtime_strtime_strtime_wstrtime
_tstrtime_s_strtime_s_strtime_s_wstrtime_s
_tsystemsystemsystem_wsystem
_ttempnam_tempnam_tempnam_wtempnam
_ttmpnamtmpnamtmpnam_wtmpnam
_ttmpnam_stmpnam_stmpnam_s_wtmpnam_s
_ttoiatoiatoi_wtoi
_ttoi64_atoi64_atoi64_wtoi64
_ttolatolatol_wtol
_tunlink_unlink_unlink_wunlink
_tutime_utime_utime_wutime
_tutime32_utime32_utime32_wutime32
_tutime64_utime64_utime64_wutime64
_tWinMainWinMainWinMainwWinMain
_ui64tot_ui64toa_ui64toa_ui64tow
_ui64tot_s_ui64toa_s_ui64toa_s_ui64tow_s
_ultot_ultoa_ultoa_ultow
_ultot_s_ultoa_s_ultoa_s_ultow_s
_ungettcungetcungetcungetwc
_ungettch_ungetch_ungetch_ungetwch
_vftprintfvfprintfvfprintfvfwprintf
_vftprintf_svfprintf_svfprintf_svfwprintf_S
_vsctprintf_vscprintf_vscprintf_vscwprintf
_vsctprintf_s_vscprintf_s_vscprintf_s_vscwprintf_S
_vsntprintf_vsnprintf_vsnprintf_vsnwprintf
_vsntprintf_s_vsnprintf_s_vsnprintf_s_vsnwprintf_s
_vstprintfvsprintfvsprintfvswprintf
_vstprintf_svsprintf_svsprintf_svswprintf_s
_vtprintfvprintfvprintfvwprintf
_vtprintf_svprintf_svprintf_svwprintf_s

这篇关于TCHAR一般文本函数映射表的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/419431

相关文章

苹果macOS 26 Tahoe主题功能大升级:可定制图标/高亮文本/文件夹颜色

《苹果macOS26Tahoe主题功能大升级:可定制图标/高亮文本/文件夹颜色》在整体系统设计方面,macOS26采用了全新的玻璃质感视觉风格,应用于Dock栏、应用图标以及桌面小部件等多个界面... 科技媒体 MACRumors 昨日(6 月 13 日)发布博文,报道称在 macOS 26 Tahoe 中

Python中help()和dir()函数的使用

《Python中help()和dir()函数的使用》我们经常需要查看某个对象(如模块、类、函数等)的属性和方法,Python提供了两个内置函数help()和dir(),它们可以帮助我们快速了解代... 目录1. 引言2. help() 函数2.1 作用2.2 使用方法2.3 示例(1) 查看内置函数的帮助(

Python实现精准提取 PDF中的文本,表格与图片

《Python实现精准提取PDF中的文本,表格与图片》在实际的系统开发中,处理PDF文件不仅限于读取整页文本,还有提取文档中的表格数据,图片或特定区域的内容,下面我们来看看如何使用Python实... 目录安装 python 库提取 PDF 文本内容:获取整页文本与指定区域内容获取页面上的所有文本内容获取

C++ 函数 strftime 和时间格式示例详解

《C++函数strftime和时间格式示例详解》strftime是C/C++标准库中用于格式化日期和时间的函数,定义在ctime头文件中,它将tm结构体中的时间信息转换为指定格式的字符串,是处理... 目录C++ 函数 strftipythonme 详解一、函数原型二、功能描述三、格式字符串说明四、返回值五

Nginx Location映射规则总结归纳与最佳实践

《NginxLocation映射规则总结归纳与最佳实践》Nginx的location指令是配置请求路由的核心机制,其匹配规则直接影响请求的处理流程,下面给大家介绍NginxLocation映射规则... 目录一、Location匹配规则与优先级1. 匹配模式2. 优先级顺序3. 匹配示例二、Proxy_pa

Python中bisect_left 函数实现高效插入与有序列表管理

《Python中bisect_left函数实现高效插入与有序列表管理》Python的bisect_left函数通过二分查找高效定位有序列表插入位置,与bisect_right的区别在于处理重复元素时... 目录一、bisect_left 基本介绍1.1 函数定义1.2 核心功能二、bisect_left 与

java中BigDecimal里面的subtract函数介绍及实现方法

《java中BigDecimal里面的subtract函数介绍及实现方法》在Java中实现减法操作需要根据数据类型选择不同方法,主要分为数值型减法和字符串减法两种场景,本文给大家介绍java中BigD... 目录Java中BigDecimal里面的subtract函数的意思?一、数值型减法(高精度计算)1.

C++/类与对象/默认成员函数@构造函数的用法

《C++/类与对象/默认成员函数@构造函数的用法》:本文主要介绍C++/类与对象/默认成员函数@构造函数的用法,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录名词概念默认成员函数构造函数概念函数特征显示构造函数隐式构造函数总结名词概念默认构造函数:不用传参就可以

C++类和对象之默认成员函数的使用解读

《C++类和对象之默认成员函数的使用解读》:本文主要介绍C++类和对象之默认成员函数的使用方式,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录一、默认成员函数有哪些二、各默认成员函数详解默认构造函数析构函数拷贝构造函数拷贝赋值运算符三、默认成员函数的注意事项总结一

详解如何使用Python从零开始构建文本统计模型

《详解如何使用Python从零开始构建文本统计模型》在自然语言处理领域,词汇表构建是文本预处理的关键环节,本文通过Python代码实践,演示如何从原始文本中提取多尺度特征,并通过动态调整机制构建更精确... 目录一、项目背景与核心思想二、核心代码解析1. 数据加载与预处理2. 多尺度字符统计3. 统计结果可