1#include <string.h>23#undef strcat45char *6strcat(char *restrict s1, const char *restrict s2)7{8 char *ret;910 for (ret = s1; *s1; ++s1)11 ;12 while ((*s1++ = *s2++) != 0)13 ;1415 return ret;16}
A fork of https://git.simple-cc.org/scc/ for Qute
git clone https://git.8pit.net/scc.git
1#include <string.h>23#undef strcat45char *6strcat(char *restrict s1, const char *restrict s2)7{8 char *ret;910 for (ret = s1; *s1; ++s1)11 ;12 while ((*s1++ = *s2++) != 0)13 ;1415 return ret;16}