X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/6f9272bdabcda81425ec1aaecf26a160535d4749..2a44d50497d0bf670265bd8a2eb5d75cc92ebb08:/lib/minilib.c?ds=inline diff --git a/lib/minilib.c b/lib/minilib.c index e90f7af..664a0b4 100644 --- a/lib/minilib.c +++ b/lib/minilib.c @@ -75,6 +75,15 @@ void strcpy(char *a2, const char *a1) } while (*(a1++)); } +void strcat(char *dest, char *src) +{ + while (*dest) + dest++; + while (*src) + *(dest++) = *(src++); + *(dest++) = *(src++); +} + void puts(const char *c) { putbytes(c, strlen(c));