summaryrefslogtreecommitdiff
path: root/lib/stpcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stpcpy.c')
-rw-r--r--lib/stpcpy.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/stpcpy.c b/lib/stpcpy.c
deleted file mode 100644
index 1586a37..0000000
--- a/lib/stpcpy.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#include <string.h>
-
-char *stpcpy(char *restrict dest, const char *restrict src)
-{
- char *d = dest;
- for (; (*d = *src); d++, src++)
- ;
- return d;
-}