Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers...
[reactos.git] / reactos / sdk / lib / crt / mem / memccpy.c
diff --git a/reactos/sdk/lib/crt/mem/memccpy.c b/reactos/sdk/lib/crt/mem/memccpy.c
deleted file mode 100644 (file)
index ecd5b5c..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-
-#include <string.h>
-
-
-void *
-__cdecl
-_memccpy (void *to, const void *from,int c,size_t count)
-{
-    char t;
-    size_t i;
-    char *dst=(char*)to;
-    const char *src=(const char*)from;
-
-    for ( i = 0; i < count; i++ )
-    {
-        dst[i] = t = src[i];
-        if ( t == '\0' )
-            break;
-        if ( t == c )
-            return &dst[i+1];
-    }
-    return NULL; /* didn't copy c */
-}