Share via


Deprecated CRT Functions (Windows Embedded CE 6.0)

1/5/2010

The following table shows deprecated CRT functions and their security-enhanced replacements.

Deprecated CRT function Security-enhanced replacement

_alloca.

_malloca

_controlfp.

controlfp_s

_ecvt.

_ecvt_s

_fcvt.

_fcvt_s

fopen, _wfopen.

fopen_s¸ _wfopen_s

fprintf, fwprintf.

fprintf_s, fwprintf_s

fscanf,fwscanf.

fscanf_s, _fwscanf

_gcvt.

_gcvt_s

gets, _getws.

gets_s, _getws_s

_itoa and _itow.

_itoa_s, _itow_s,

_ltoa and _ltow.

_ltoa_s, _ltow_s

mbstowcs.

mbstowcs_s

memcpy.

memcpy_s

memmove.

memmove_s

scanf and wscanf.

scanf_s, wscanf_s

_snprintf and _snwprintf.

_snprintf_s, _snwprintf_s

sprintf and swprintf.

sprintf_s, swprintf_s

strcat and wcscat.

strcat_s, wsccat_s

strcpy and wcscpy.

strcpy_s, wcscpy_s

_strlwr and _wcslwr.

_strlwr_s, _wcslwr_s

strncat and wcsncat.

strncat_s, wcsncat_s

strncpy and wcsncpy

strncpy_s, wcsncpy_s

_strnset and _wcsnet.

_strnset_s, _wcsnset_s

_strset and _wcsset.

_strset_s, _wcsset_s

strtok and wcstok.

strtok_s, wcstok_s

_strupr and _wcsupr.

_strupr_s, _wcsupr_s

_ultoa and _ultow.

_ultoa_s, _ultow_s

vprintf and vwprintf.

vprintf_s, vwprintf_s

vsnprintf and _vsnwprintf.

_vsnprintf_s, _vsnwprintf_s

vsprintf and vswprintf.

vsprintf_s, vswprintf_s

wcstombs.

wcstombs_s

See Also

Reference

Security-Enhanced CRT Functions for Windows Embedded CE

Other Resources

What's New in the C Run-Time Library