首页 > 代码库 > 安全版字符串操作函数

安全版字符串操作函数

Strsafe.h functionReplaces

StringCchCat

StringCchCatEx

strcat, wcscat

StringCchCatN

StringCchCatNEx

strncat

StringCchCopy

StringCchCopyEx

strcpy, wcscpy

StringCchCopyN

StringCchCopyNEx

strncpy

StringCchGets

StringCchGetsEx

gets, _getws

StringCchPrintf

StringCchPrintfEx

sprintf, swprintf, wsprintf, _snprintf, _snwprintf

StringCchVPrintf

StringCchVPrintfEx

vsprintf, vswprintf, _vsnprintf, _vsnwprintf
StringCchLengthstrlen

安全版字符串操作函数