summaryrefslogtreecommitdiffstats
path: root/libc/string/wcslcpy.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:25:00 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 02:25:00 +0000
commit040c7690807bfcb4f2dc6aa0c430f5e3217f2cb9 (patch)
tree762be568bbe364c194395efb6a4d30cd066194d1 /libc/string/wcslcpy.c
parent7c99163a15dbdb672379d2e02b29415555cce4ad (diff)
downloaduClibc-alpine-040c7690807bfcb4f2dc6aa0c430f5e3217f2cb9.tar.bz2
uClibc-alpine-040c7690807bfcb4f2dc6aa0c430f5e3217f2cb9.tar.xz
Copy from trunk.
Diffstat (limited to 'libc/string/wcslcpy.c')
-rw-r--r--libc/string/wcslcpy.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/libc/string/wcslcpy.c b/libc/string/wcslcpy.c
new file mode 100644
index 000000000..283a51ed9
--- /dev/null
+++ b/libc/string/wcslcpy.c
@@ -0,0 +1,17 @@
+/*
+ * 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_strlcpy
+#define WANT_WIDE
+#define Wstrlcpy __wcslcpy
+
+#include "wstring.c"
+
+#ifdef __LOCALE_C_ONLY
+weak_alias(__wcslcpy, wcsxfrm)
+#endif
+
+#undef L_strlcpy