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