Locale-Sensitive C/C++ String Operation Function
char *strcat(char *strDestination, const char *strSource);
wchar_t *wcscat(wchar_t *strDestination, const wchar_t *strSource);
unsigned char *_mbscat(unsigned char *strDestination, const unsigned char *strSource);
_TXCHAR *_tcscat(_TXCHAR *strDestination, const _TXCHAR *strSource);
_TXCHAR *_ftcscat(_TXCHAR *strDestination, const _TXCHAR *strSource);
Internationalization (I18n) Function Overview
The strcat function concatenates strSource onto the end of strDestination ,
overwriting the null byte at the end of strDestination . The strSource and strDestination arrays cannot overlap.
The caller must ensure strDestination points to a region of memory that is large enough to hold
the concatenated result, including the null terminator.
wcscat is the wide version of the function; its parameters and return are wide character strings.
_mbscat is supported only on Windows platforms and is the multibyte version of the function; its parameters and return are multibyte character strings.
_tcscat and _ftcscat are Windows-only Generic versions of strcat .
I18n Issues
Use the appropriate version of the function as required for internationalization support.
Recommended Replacements*
On Windows platforms, a more secure string function should be used.
On ANSI platforms, call the safer strncat function, if possible.
These are shown as the first choices in the following table:
*If you're already using the recommended function, see I18n Issues for other reasons why Globalyzer is detecting the function.
Locale-Sensitive C/C++
String Operation Functions
|