From 040c7690807bfcb4f2dc6aa0c430f5e3217f2cb9 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Thu, 17 Nov 2005 02:25:00 +0000 Subject: Copy from trunk. --- libc/string/wcslcpy.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 libc/string/wcslcpy.c (limited to 'libc/string/wcslcpy.c') 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 + * + * 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 -- cgit v1.2.3