]> pd.if.org Git - pdclib/blobdiff - functions/string/strncat.c
Removed old files.
[pdclib] / functions / string / strncat.c
diff --git a/functions/string/strncat.c b/functions/string/strncat.c
deleted file mode 100644 (file)
index 4a81991..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-/* ----------------------------------------------------------------------------
- * $Id$
- * ----------------------------------------------------------------------------
- * Public Domain C Library - http://pdclib.sourceforge.net
- * This code is Public Domain. Use, modify, and redistribute at will.
- * --------------------------------------------------------------------------*/
-
-#include <__size_t.h>
-
-char * strncat( char * restrict dest, const char * restrict src, size_t n )
-{
-    char * tmp = dest;
-    while ( *dest != '\0' )
-    {
-        ++dest;
-    }
-    while ( ( n-- > 0 ) && ( *src != '\0' ) )
-    {
-        *dest++ = *src++;
-    }
-    return tmp;
-}