Except for the parameters and return value, the _itoa_s functions have the same behavior as the corresponding less secure versions.
In C++, using these functions is simplified by template overloads; the overloads can infer buffer length automatically (eliminating the need to specify a size argument) and they can automatically replace older, non-secure functions with their newer, secure counterparts. For more information, see Secure Template Overloads.
The debug versions of these functions first fill the buffer with 0xFD. To disable this behavior, use _CrtSetDebugFillThreshold.
Generic-Text Routine Mappings
|
Tchar.h routine
|
_UNICODE and _MBCS not defined
|
_MBCS defined
|
_UNICODE defined
|
| _itot_s | _itoa_s | _itoa_s | _itow_s |
| _i64tot_s | _i64toa_s | _i64toa_s | _i64tow_s |
| _ui64tot_s | _ui64toa_s | _ui64toa_s | _ui64tow_s |