ref: c53fa30afa573aa16715f46a379cf8e8d5d5e8a6
dir: /libc/src/strcat.c/
/* See LICENSE file for copyright and license details. */ #include <string.h> #undef strcat char * strcat(char * restrict dst, const char * restrict src) { char *ret = dst; while (*dst) ++dst; while (*dst++ = *src++) /* nothing */; return ret; }