diff options
| -rw-r--r-- | sys/src/ape/lib/ap/gen/strcpy.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/src/ape/lib/ap/gen/strcpy.c b/sys/src/ape/lib/ap/gen/strcpy.c index 6a294eee5..3f50f5921 100644 --- a/sys/src/ape/lib/ap/gen/strcpy.c +++ b/sys/src/ape/lib/ap/gen/strcpy.c @@ -1,21 +1,6 @@ #include <string.h> #define N 10000 -static void* -memccpy(void *a1, void *a2, int c, unsigned long n) -{ - char *s1, *s2; - - s1 = a1; - s2 = a2; - while(n > 0) { - if((*s1++ = *s2++) == c) - return s1; - n--; - } - return 0; -} - char* strcpy(char *s1, const char *s2) { |
