summaryrefslogtreecommitdiffstats
path: root/libc/string/strncpy.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:24:15 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:24:15 +0000
commit8fc2b709ae0f1141cb7ed4ef2dc806336ac18470 (patch)
tree93aef810307227c47762dc154100e02b87002525 /libc/string/strncpy.c
parentd35fa3be8d71da2ab54d3860df5d1313e9853223 (diff)
downloaduClibc-alpine-8fc2b709ae0f1141cb7ed4ef2dc806336ac18470.tar.bz2
uClibc-alpine-8fc2b709ae0f1141cb7ed4ef2dc806336ac18470.tar.xz
Copy from trunk.
Diffstat (limited to 'libc/string/strncpy.c')
-rw-r--r--libc/string/strncpy.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libc/string/strncpy.c b/libc/string/strncpy.c
new file mode 100644
index 000000000..c96be715e
--- /dev/null
+++ b/libc/string/strncpy.c
@@ -0,0 +1,14 @@
+/*
+ * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#define L_strncpy
+#define Wstrncpy __strncpy
+
+#include "wstring.c"
+
+strong_alias(__strncpy, strncpy)
+
+#undef L_strncpy