shithub: scc

ref: 0bea8c5077c0ed1f2c61ce65f0b8f14eed89eca3
dir: /lib/c/strcpy.c/

View raw version
#include <string.h>
#undef strcpy

char *
strcpy(char * restrict dst, const char * restrict src)
{
	char *ret = dst;

	while (*dst++ = *src++)
		;
	return ret;
}