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

相关文章

Mybatis对MySQL if 函数的不支持问题解读

《Mybatis对MySQLif函数的不支持问题解读》接手项目后,为了实现多租户功能,引入了Mybatis-plus,发现之前运行正常的SQL语句报错,原因是Mybatis不支持MySQL的if函... 目录MyBATis对mysql if 函数的不支持问题描述经过查询网上搜索资料找到原因解决方案总结Myb

Python自动化提取多个Word文档的文本

《Python自动化提取多个Word文档的文本》在日常工作和学习中,我们经常需要处理大量的Word文档,本文将深入探讨如何利用Python批量提取Word文档中的文本内容,帮助你解放生产力,感兴趣的小... 目录为什么需要批量提取Word文档文本批量提取Word文本的核心技术与工具安装 Spire.Doc

Python容器转换与共有函数举例详解

《Python容器转换与共有函数举例详解》Python容器是Python编程语言中非常基础且重要的概念,它们提供了数据的存储和组织方式,下面:本文主要介绍Python容器转换与共有函数的相关资料,... 目录python容器转换与共有函数详解一、容器类型概览二、容器类型转换1. 基本容器转换2. 高级转换示

pandas使用apply函数给表格同时添加多列

《pandas使用apply函数给表格同时添加多列》本文介绍了利用Pandas的apply函数在DataFrame中同时添加多列,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习... 目录一、Pandas使用apply函数给表格同时添加多列二、应用示例一、Pandas使用apply函

Python中Namespace()函数详解

《Python中Namespace()函数详解》Namespace是argparse模块提供的一个类,用于创建命名空间对象,它允许通过点操作符访问数据,比字典更易读,在深度学习项目中常用于加载配置、命... 目录1. 为什么使用 Namespace?2. Namespace 的本质是什么?3. Namesp

MySQL中如何求平均值常见实例(AVG函数详解)

《MySQL中如何求平均值常见实例(AVG函数详解)》MySQLavg()是一个聚合函数,用于返回各种记录中表达式的平均值,:本文主要介绍MySQL中用AVG函数如何求平均值的相关资料,文中通过代... 目录前言一、基本语法二、示例讲解1. 计算全表平均分2. 计算某门课程的平均分(例如:Math)三、结合

SpringMVC配置、映射与参数处理​入门案例详解

《SpringMVC配置、映射与参数处理​入门案例详解》文章介绍了SpringMVC框架的基本概念和使用方法,包括如何配置和编写Controller、设置请求映射规则、使用RestFul风格、获取请求... 目录1.SpringMVC概述2.入门案例①导入相关依赖②配置web.XML③配置SpringMVC

Elasticsearch 的索引管理与映射配置实战指南

《Elasticsearch的索引管理与映射配置实战指南》在本文中,我们深入探讨了Elasticsearch中索引与映射的基本概念及其重要性,通过详细的操作示例,我们了解了如何创建、更新和删除索引,... 目录一、索引操作(一)创建索引(二)删除索引(三)关闭索引(四)打开索引(五)索引别名二、映射操作(一

Python函数作用域与闭包举例深度解析

《Python函数作用域与闭包举例深度解析》Python函数的作用域规则和闭包是编程中的关键概念,它们决定了变量的访问和生命周期,:本文主要介绍Python函数作用域与闭包的相关资料,文中通过代码... 目录1. 基础作用域访问示例1:访问全局变量示例2:访问外层函数变量2. 闭包基础示例3:简单闭包示例4

Python中isinstance()函数原理解释及详细用法示例

《Python中isinstance()函数原理解释及详细用法示例》isinstance()是Python内置的一个非常有用的函数,用于检查一个对象是否属于指定的类型或类型元组中的某一个类型,它是Py... 目录python中isinstance()函数原理解释及详细用法指南一、isinstance()函数