update for HEAD-2003091401
[reactos.git] / lib / crtdll / string / strncpy.c
diff --git a/lib/crtdll/string/strncpy.c b/lib/crtdll/string/strncpy.c
deleted file mode 100644 (file)
index 6981589..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <msvcrt/string.h>
-
-char *
-strncpy(char *dst, const char *src, size_t n)
-{
-  if (n != 0) {
-    char *d = dst;
-    const char *s = src;
-
-    do {
-      if ((*d++ = *s++) == 0)
-      {
-       while (--n != 0)
-         *d++ = 0;
-       break;
-      }
-    } while (--n != 0);
-  }
-  return dst;
-}