1#include <string.h>23#undef strcpy45char *6strcpy(char *restrict s1, const char *restrict s2)7{8 char *ret = s1;910 while ((*s1++ = *s2++) != '\0')11 ;1213 return ret;14}
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 strcpy45char *6strcpy(char *restrict s1, const char *restrict s2)7{8 char *ret = s1;910 while ((*s1++ = *s2++) != '\0')11 ;1213 return ret;14}