scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1#include <wchar.h>
 2
 3#undef wcscat
 4
 5wchar_t *
 6wcscat(wchar_t *restrict s1, const wchar_t *restrict s2)
 7{
 8	wchar_t *p;
 9
10	for (p = s1; *p; ++p)
11		;
12	while ((*p++ = *s2++) != 0)
13		;
14
15	return s1;
16}