summaryrefslogtreecommitdiffstats
path: root/libc/string
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:24:56 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:24:56 +0000
commit7c99163a15dbdb672379d2e02b29415555cce4ad (patch)
treeaf45b4c3bb69030acb40788fbb8d34cf37a13310 /libc/string
parenta9be3956dfb183aa02e7bfc67968be493f894443 (diff)
downloaduClibc-alpine-7c99163a15dbdb672379d2e02b29415555cce4ad.tar.bz2
uClibc-alpine-7c99163a15dbdb672379d2e02b29415555cce4ad.tar.xz
Copy from trunk.
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/wcpncpy.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/string/wcpncpy.c b/libc/string/wcpncpy.c
new file mode 100644
index 000000000..ce942a63f
--- /dev/null
+++ b/libc/string/wcpncpy.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_stpncpy
+#define WANT_WIDE
+#define Wstpncpy __wcpncpy
+
+#include "wstring.c"
+
+strong_alias(__wcpncpy, wcpncpy)
+
+#undef L_stpncpy