summaryrefslogtreecommitdiff
path: root/kernel/libc/string/strcat.c
blob: 78a9ec680009e6698649224c5eb86f2c7f437730 (plain)
1
2
3
4
5
6
#include <string.h>

char *strcat(char *s1, const char *s2) {
  strcpy(s1 + strlen(s1), s2);
  return s1;
}