summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:22:08 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:22:08 +0000
commitc4054558b1c208625b972bcf067de58fb8d35468 (patch)
treeaed3622c8d6b68655d4427804f4953441475389f
parent542b0ea042ad20034b48a39076f7b0868e6d69d8 (diff)
downloaduClibc-alpine-c4054558b1c208625b972bcf067de58fb8d35468.tar.bz2
uClibc-alpine-c4054558b1c208625b972bcf067de58fb8d35468.tar.xz
Copy from trunk.
-rw-r--r--libc/string/wcsncpy.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/string/wcsncpy.c b/libc/string/wcsncpy.c
new file mode 100644
index 000000000..24f6245a3
--- /dev/null
+++ b/libc/string/wcsncpy.c
@@ -0,0 +1,15 @@
+/*
+ * 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 WANT_WIDE
+#define Wstrncpy __wcsncpy
+
+#include "wstring.c"
+
+strong_alias(__wcsncpy, wcsncpy)
+
+#undef L_strncpy