Comment logic of strxcpy()
This commit is contained in:
parent
19fdb52aab
commit
20c366b27e
@ -92,6 +92,8 @@ char* StripQuotes(char* str);
|
||||
|
||||
// Safe versions of strcpy, strcat, sequencial strcat...
|
||||
TCHAR *strxcpy(TCHAR *d, const TCHAR *s, size_t n);
|
||||
// strxcpy: copy not more n-1 bytes of "s" into "d", insert '\0' into end of string.
|
||||
// return d
|
||||
char* strxcat(char *dest, const char *src, size_t max);
|
||||
char* strxmerge(char *dest, size_t max, ...);
|
||||
|
||||
|
@ -612,7 +612,8 @@ const char* strrword(const char* str, const char *separator) {
|
||||
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
// copy not more n-1 bytes of "s" into "d", insert '\0' into end of string.
|
||||
// return d
|
||||
TCHAR *strxcpy(TCHAR *d, const TCHAR *s, size_t n)
|
||||
{
|
||||
#if defined(_tcsncpy_s)
|
||||
|
Reference in New Issue
Block a user