ref: b589353e707d07bf1412c206e9e5cfa876e57400 dir: /lib/c/src/strcpy.c/
#include <string.h> #undef strcpy char * strcpy(char * restrict dst, const char * restrict src) { char *ret = dst; while (*dst++ = *src++) /* nothing */; return ret; }