ref: 258c23680f121b4681340e155a75e072531cc104 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; }