summaryrefslogtreecommitdiff
path: root/libc/string/wcslcpy.c
diff options
context:
space:
mode:
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