This repository has been archived on 2024-06-25. You can view files and clone it, but cannot push or open issues or pull requests.
rockOS/libc/string/strcat.c

7 lines
140 B
C
Raw Normal View History

#include <string.h>
char* strcat(char* restrict dest, const char* restrict src) {
strcpy(dest + strlen(dest), src);
return dest;
}