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

相关文章

Django中的函数视图和类视图以及路由的定义方式

《Django中的函数视图和类视图以及路由的定义方式》Django视图分函数视图和类视图,前者用函数处理请求,后者继承View类定义方法,路由使用path()、re_path()或url(),通过in... 目录函数视图类视图路由总路由函数视图的路由类视图定义路由总结Django允许接收的请求方法http

MySQL常用字符串函数示例和场景介绍

《MySQL常用字符串函数示例和场景介绍》MySQL提供了丰富的字符串函数帮助我们高效地对字符串进行处理、转换和分析,本文我将全面且深入地介绍MySQL常用的字符串函数,并结合具体示例和场景,帮你熟练... 目录一、字符串函数概述1.1 字符串函数的作用1.2 字符串函数分类二、字符串长度与统计函数2.1

python使用try函数详解

《python使用try函数详解》Pythontry语句用于异常处理,支持捕获特定/多种异常、else/final子句确保资源释放,结合with语句自动清理,可自定义异常及嵌套结构,灵活应对错误场景... 目录try 函数的基本语法捕获特定异常捕获多个异常使用 else 子句使用 finally 子句捕获所

postgresql使用UUID函数的方法

《postgresql使用UUID函数的方法》本文给大家介绍postgresql使用UUID函数的方法,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友参考下吧... 目录PostgreSQL有两种生成uuid的方法。可以先通过sql查看是否已安装扩展函数,和可以安装的扩展函数

MySQL字符串常用函数详解

《MySQL字符串常用函数详解》本文给大家介绍MySQL字符串常用函数,本文结合实例代码给大家介绍的非常详细,对大家学习或工作具有一定的参考借鉴价值,需要的朋友参考下吧... 目录mysql字符串常用函数一、获取二、大小写转换三、拼接四、截取五、比较、反转、替换六、去空白、填充MySQL字符串常用函数一、

Kotlin Map映射转换问题小结

《KotlinMap映射转换问题小结》文章介绍了Kotlin集合转换的多种方法,包括map(一对一转换)、mapIndexed(带索引)、mapNotNull(过滤null)、mapKeys/map... 目录Kotlin 集合转换:map、mapIndexed、mapNotNull、mapKeys、map

C++中assign函数的使用

《C++中assign函数的使用》在C++标准模板库中,std::list等容器都提供了assign成员函数,它比操作符更灵活,支持多种初始化方式,下面就来介绍一下assign的用法,具有一定的参考价... 目录​1.assign的基本功能​​语法​2. 具体用法示例​​​(1) 填充n个相同值​​(2)

MySql基本查询之表的增删查改+聚合函数案例详解

《MySql基本查询之表的增删查改+聚合函数案例详解》本文详解SQL的CURD操作INSERT用于数据插入(单行/多行及冲突处理),SELECT实现数据检索(列选择、条件过滤、排序分页),UPDATE... 目录一、Create1.1 单行数据 + 全列插入1.2 多行数据 + 指定列插入1.3 插入否则更

PostgreSQL中rank()窗口函数实用指南与示例

《PostgreSQL中rank()窗口函数实用指南与示例》在数据分析和数据库管理中,经常需要对数据进行排名操作,PostgreSQL提供了强大的窗口函数rank(),可以方便地对结果集中的行进行排名... 目录一、rank()函数简介二、基础示例:部门内员工薪资排名示例数据排名查询三、高级应用示例1. 每

全面掌握 SQL 中的 DATEDIFF函数及用法最佳实践

《全面掌握SQL中的DATEDIFF函数及用法最佳实践》本文解析DATEDIFF在不同数据库中的差异,强调其边界计算原理,探讨应用场景及陷阱,推荐根据需求选择TIMESTAMPDIFF或inte... 目录1. 核心概念:DATEDIFF 究竟在计算什么?2. 主流数据库中的 DATEDIFF 实现2.1