Changeset 16 in Main for trunk/Common/string.c
- Timestamp:
- Sep 14, 2024, 12:09:52 AM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/string.c
r6 r16 11 11 memcpy(str + strlen(a), b, strlen(b)); 12 12 str[strlen(a) + strlen(b)] = 0; 13 return str; 14 } 15 16 char* cm_strcat3(const char* a, const char* b, const char* c) { 17 char* tmp = cm_strcat(a, b); 18 char* str = cm_strcat(tmp, c); 19 free(tmp); 13 20 return str; 14 21 }
Note:
See TracChangeset
for help on using the changeset viewer.