meta: move photon/libc to root
This commit is contained in:
8
libc/string/strcat.c
Normal file
8
libc/string/strcat.c
Normal file
@@ -0,0 +1,8 @@
|
||||
#include <string.h>
|
||||
|
||||
char *strcat(char *dest, const char *src)
|
||||
{
|
||||
size_t len = strlen(dest);
|
||||
strcpy(dest + len, src);
|
||||
return dest;
|
||||
}
|
||||
Reference in New Issue
Block a user