summaryrefslogtreecommitdiff
path: root/klibc/klibc/strcat.c
blob: a5f9477866d34a55895c06e409e6af912df665a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
/*
 * strcat.c
 */

#include <string.h>

char *strcat(char *dst, const char *src)
{
  strcpy(strchr(dst, '\0'), src);
  return dst;
}