aboutsummaryrefslogtreecommitdiffstats
path: root/memory/strcat.c
diff options
context:
space:
mode:
Diffstat (limited to 'memory/strcat.c')
-rw-r--r--memory/strcat.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/memory/strcat.c b/memory/strcat.c
new file mode 100644
index 0000000..118e152
--- /dev/null
+++ b/memory/strcat.c
@@ -0,0 +1,7 @@
+#include "memory.h"
+
+char *strcat(char *restrict destination, char const *restrict source)
+{
+ strcpy(destination + strlen(destination), source);
+ return destination;
+}