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