This commit is contained in:
alexvoste
2026-05-07 02:22:25 +03:00
commit 1a9fd27a31
226 changed files with 29188 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#include <string.h>
char *strcat(char *dest, const char *src) {
char *ptr = dest;
while (*ptr != '\0') {
ptr++;
}
while (*src != '\0') {
*ptr++ = *src++;
}
*ptr = '\0';
return dest;
}