ref: 8b6a2d7d21c67db8b1fbc4eaabf3496bcc07941d dir: /lib/c/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; }