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

相关文章

C语言函数递归实际应用举例详解

《C语言函数递归实际应用举例详解》程序调用自身的编程技巧称为递归,递归做为一种算法在程序设计语言中广泛应用,:本文主要介绍C语言函数递归实际应用举例的相关资料,文中通过代码介绍的非常详细,需要的朋... 目录前言一、递归的概念与思想二、递归的限制条件 三、递归的实际应用举例(一)求 n 的阶乘(二)顺序打印

C/C++错误信息处理的常见方法及函数

《C/C++错误信息处理的常见方法及函数》C/C++是两种广泛使用的编程语言,特别是在系统编程、嵌入式开发以及高性能计算领域,:本文主要介绍C/C++错误信息处理的常见方法及函数,文中通过代码介绍... 目录前言1. errno 和 perror()示例:2. strerror()示例:3. perror(

Java枚举类实现Key-Value映射的多种实现方式

《Java枚举类实现Key-Value映射的多种实现方式》在Java开发中,枚举(Enum)是一种特殊的类,本文将详细介绍Java枚举类实现key-value映射的多种方式,有需要的小伙伴可以根据需要... 目录前言一、基础实现方式1.1 为枚举添加属性和构造方法二、http://www.cppcns.co

Kotlin 作用域函数apply、let、run、with、also使用指南

《Kotlin作用域函数apply、let、run、with、also使用指南》在Kotlin开发中,作用域函数(ScopeFunctions)是一组能让代码更简洁、更函数式的高阶函数,本文将... 目录一、引言:为什么需要作用域函数?二、作用域函China编程数详解1. apply:对象配置的 “流式构建器”最

Android Kotlin 高阶函数详解及其在协程中的应用小结

《AndroidKotlin高阶函数详解及其在协程中的应用小结》高阶函数是Kotlin中的一个重要特性,它能够将函数作为一等公民(First-ClassCitizen),使得代码更加简洁、灵活和可... 目录1. 引言2. 什么是高阶函数?3. 高阶函数的基础用法3.1 传递函数作为参数3.2 Lambda

使用Python实现文本转语音(TTS)并播放音频

《使用Python实现文本转语音(TTS)并播放音频》在开发涉及语音交互或需要语音提示的应用时,文本转语音(TTS)技术是一个非常实用的工具,下面我们来看看如何使用gTTS和playsound库将文本... 目录什么是 gTTS 和 playsound安装依赖库实现步骤 1. 导入库2. 定义文本和语言 3

C++中::SHCreateDirectoryEx函数使用方法

《C++中::SHCreateDirectoryEx函数使用方法》::SHCreateDirectoryEx用于创建多级目录,类似于mkdir-p命令,本文主要介绍了C++中::SHCreateDir... 目录1. 函数原型与依赖项2. 基本使用示例示例 1:创建单层目录示例 2:创建多级目录3. 关键注

Python实现常用文本内容提取

《Python实现常用文本内容提取》在日常工作和学习中,我们经常需要从PDF、Word文档中提取文本,本文将介绍如何使用Python编写一个文本内容提取工具,有需要的小伙伴可以参考下... 目录一、引言二、文本内容提取的原理三、文本内容提取的设计四、文本内容提取的实现五、完整代码示例一、引言在日常工作和学

C++中函数模板与类模板的简单使用及区别介绍

《C++中函数模板与类模板的简单使用及区别介绍》这篇文章介绍了C++中的模板机制,包括函数模板和类模板的概念、语法和实际应用,函数模板通过类型参数实现泛型操作,而类模板允许创建可处理多种数据类型的类,... 目录一、函数模板定义语法真实示例二、类模板三、关键区别四、注意事项 ‌在C++中,模板是实现泛型编程

kotlin的函数forEach示例详解

《kotlin的函数forEach示例详解》在Kotlin中,forEach是一个高阶函数,用于遍历集合中的每个元素并对其执行指定的操作,它的核心特点是简洁、函数式,适用于需要遍历集合且无需返回值的场... 目录一、基本用法1️⃣ 遍历集合2️⃣ 遍历数组3️⃣ 遍历 Map二、与 for 循环的区别三、高