00db10
From 21ee17d9e36c21d0c143287cc678a373893e94cc Mon Sep 17 00:00:00 2001
00db10
From: Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
00db10
Date: Wed, 30 Jul 2014 07:45:17 -0500
00db10
Subject: [PATCH] PowerPC: multiarch wcscpy for PowerPC64
00db10
00db10
commit 92cacfce7d40cb331009fdcd79d83b075a1a8785
00db10
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
00db10
Date:   Fri Dec 13 14:53:25 2013 -0500
00db10
00db10
Added the following files apart from original commit.   .
00db10
sysdeps/powerpc/power6/wcscpy.c
00db10
sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c
00db10
sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c
00db10
sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
00db10
sysdeps/powerpc/powerpc64/power6/wcscpy.c
00db10
wcsmbs/wcscpy.c
00db10
---
00db10
 sysdeps/powerpc/power6/wcscpy.c                    | 105 +++++++++++++++++++++
00db10
 .../powerpc32/power4/multiarch/wcscpy-power6.c     |  22 +++++
00db10
 .../powerpc32/power4/multiarch/wcscpy-power7.c     |  22 +++++
00db10
 .../powerpc32/power4/multiarch/wcscpy-ppc32.c      |  26 +++++
00db10
 sysdeps/powerpc/powerpc64/multiarch/Makefile       |   4 +-
00db10
 .../powerpc/powerpc64/multiarch/ifunc-impl-list.c  |  11 +++
00db10
 .../powerpc/powerpc64/multiarch/wcscpy-power6.c    |  19 ++++
00db10
 .../powerpc/powerpc64/multiarch/wcscpy-power7.c    |  19 ++++
00db10
 sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c |  18 ++++
00db10
 sysdeps/powerpc/powerpc64/multiarch/wcscpy.c       |  36 +++++++
00db10
 sysdeps/powerpc/powerpc64/power6/wcscpy.c          |   2 +-
00db10
 wcsmbs/wcscpy.c                                    |   5 +-
00db10
 12 files changed, 286 insertions(+), 3 deletions(-)
00db10
 create mode 100644 sysdeps/powerpc/power6/wcscpy.c
00db10
 create mode 100644 sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c
00db10
 create mode 100644 sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c
00db10
 create mode 100644 sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
00db10
 create mode 100644 sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c
00db10
 create mode 100644 sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c
00db10
 create mode 100644 sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c
00db10
 create mode 100644 sysdeps/powerpc/powerpc64/multiarch/wcscpy.c
00db10
00db10
diff --git glibc-2.17-c758a686/sysdeps/powerpc/power6/wcscpy.c glibc-2.17-c758a686/sysdeps/powerpc/power6/wcscpy.c
00db10
new file mode 100644
00db10
index 0000000..417ec72
00db10
--- /dev/null
00db10
+++ glibc-2.17-c758a686/sysdeps/powerpc/power6/wcscpy.c
00db10
@@ -0,0 +1,105 @@
00db10
+/* wcscpy.c - Wide Character Copy for POWER6+.
00db10
+   Copyright (C) 2012-2014 Free Software Foundation, Inc.
00db10
+   This file is part of the GNU C Library.
00db10
+
00db10
+   The GNU C Library is free software; you can redistribute it and/or
00db10
+   modify it under the terms of the GNU Lesser General Public
00db10
+   License as published by the Free Software Foundation; either
00db10
+   version 2.1 of the License, or (at your option) any later version.
00db10
+
00db10
+   The GNU C Library is distributed in the hope that it will be useful,
00db10
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
00db10
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00db10
+   Lesser General Public License for more details.
00db10
+
00db10
+   You should have received a copy of the GNU Lesser General Public
00db10
+   License along with the GNU C Library; see the file COPYING.LIB.  If
00db10
+   not, see <http://www.gnu.org/licenses/>.  */
00db10
+
00db10
+#include <stddef.h>
00db10
+#include <wchar.h>
00db10
+
00db10
+#ifndef WCSCPY
00db10
+# define WCSCPY wcscpy
00db10
+#endif
00db10
+
00db10
+/* Copy SRC to DEST.  */
00db10
+wchar_t *
00db10
+WCSCPY (wchar_t *dest, const wchar_t *src)
00db10
+{
00db10
+  wint_t c,d;
00db10
+  wchar_t *wcp, *wcp2;
00db10
+
00db10
+  if (__alignof__ (wchar_t) >= sizeof (wchar_t))
00db10
+    {
00db10
+      const ptrdiff_t off = dest - src;
00db10
+
00db10
+      wcp = (wchar_t *) src;
00db10
+      wcp2 = wcp + 1 ;
00db10
+
00db10
+      do
00db10
+        {
00db10
+          d = *wcp;
00db10
+          wcp[off] = d;
00db10
+          if (d == L'\0')
00db10
+            return dest;
00db10
+          wcp += 2;
00db10
+
00db10
+          c = *wcp2;
00db10
+          wcp2[off] = c;
00db10
+          if (c == L'\0')
00db10
+            return dest;
00db10
+          wcp2 += 2;
00db10
+
00db10
+          d = *wcp;
00db10
+          wcp[off] = d;
00db10
+          if (d == L'\0')
00db10
+            return dest;
00db10
+          wcp += 2;
00db10
+
00db10
+          c = *wcp2;
00db10
+          wcp2[off] = c;
00db10
+          if (c == L'\0')
00db10
+            return dest;
00db10
+          wcp2 += 2;
00db10
+
00db10
+          d = *wcp;
00db10
+          wcp[off] = d;
00db10
+          if (d == L'\0')
00db10
+            return dest;
00db10
+          wcp += 2;
00db10
+
00db10
+          c = *wcp2;
00db10
+          wcp2[off] = c;
00db10
+          if (c == L'\0')
00db10
+            return dest;
00db10
+          wcp2 += 2;
00db10
+
00db10
+          d = *wcp;
00db10
+          wcp[off] = d;
00db10
+          if (d == L'\0')
00db10
+            return dest;
00db10
+          wcp += 2;
00db10
+
00db10
+          c = *wcp2;
00db10
+          wcp2[off] = c;
00db10
+          if (c == L'\0')
00db10
+            return dest;
00db10
+          wcp2 += 2;
00db10
+        }
00db10
+      while (c != L'\0');
00db10
+
00db10
+    }
00db10
+  else
00db10
+    {
00db10
+      wcp = dest;
00db10
+
00db10
+      do
00db10
+        {
00db10
+          c = *src++;
00db10
+          *wcp++ = c;
00db10
+        }
00db10
+      while (c != L'\0');
00db10
+    }
00db10
+  return dest;
00db10
+}
00db10
diff --git glibc-2.17-c758a686/sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c glibc-2.17-c758a686/sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c
00db10
new file mode 100644
00db10
index 0000000..6c86baa
00db10
--- /dev/null
00db10
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c
00db10
@@ -0,0 +1,22 @@
00db10
+/* Copyright (C) 2013-2014 Free Software Foundation, Inc.
00db10
+   This file is part of the GNU C Library.
00db10
+
00db10
+   The GNU C Library is free software; you can redistribute it and/or
00db10
+   modify it under the terms of the GNU Lesser General Public
00db10
+   License as published by the Free Software Foundation; either
00db10
+   version 2.1 of the License, or (at your option) any later version.
00db10
+
00db10
+   The GNU C Library is distributed in the hope that it will be useful,
00db10
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
00db10
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00db10
+   Lesser General Public License for more details.
00db10
+
00db10
+   You should have received a copy of the GNU Lesser General Public
00db10
+   License along with the GNU C Library; if not, see
00db10
+   <http://www.gnu.org/licenses/>.  */
00db10
+
00db10
+#include <wchar.h>
00db10
+
00db10
+#define WCSCPY __wcscpy_power6
00db10
+
00db10
+#include <sysdeps/powerpc/power6/wcscpy.c>
00db10
diff --git glibc-2.17-c758a686/sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c glibc-2.17-c758a686/sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c
00db10
new file mode 100644
00db10
index 0000000..dad0e70
00db10
--- /dev/null
00db10
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c
00db10
@@ -0,0 +1,22 @@
00db10
+/* Copyright (C) 2013-2014 Free Software Foundation, Inc.
00db10
+   This file is part of the GNU C Library.
00db10
+
00db10
+   The GNU C Library is free software; you can redistribute it and/or
00db10
+   modify it under the terms of the GNU Lesser General Public
00db10
+   License as published by the Free Software Foundation; either
00db10
+   version 2.1 of the License, or (at your option) any later version.
00db10
+
00db10
+   The GNU C Library is distributed in the hope that it will be useful,
00db10
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
00db10
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00db10
+   Lesser General Public License for more details.
00db10
+
00db10
+   You should have received a copy of the GNU Lesser General Public
00db10
+   License along with the GNU C Library; if not, see
00db10
+   <http://www.gnu.org/licenses/>.  */
00db10
+
00db10
+#include <wchar.h>
00db10
+
00db10
+#define WCSCPY __wcscpy_power7
00db10
+
00db10
+#include <sysdeps/powerpc/power6/wcscpy.c>
00db10
diff --git glibc-2.17-c758a686/sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c glibc-2.17-c758a686/sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
00db10
new file mode 100644
00db10
index 0000000..c135835
00db10
--- /dev/null
00db10
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
00db10
@@ -0,0 +1,26 @@
00db10
+/* Copyright (C) 2013-2014 Free Software Foundation, Inc.
00db10
+   This file is part of the GNU C Library.
00db10
+
00db10
+   The GNU C Library is free software; you can redistribute it and/or
00db10
+   modify it under the terms of the GNU Lesser General Public
00db10
+   License as published by the Free Software Foundation; either
00db10
+   version 2.1 of the License, or (at your option) any later version.
00db10
+
00db10
+   The GNU C Library is distributed in the hope that it will be useful,
00db10
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
00db10
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00db10
+   Lesser General Public License for more details.
00db10
+
00db10
+   You should have received a copy of the GNU Lesser General Public
00db10
+   License along with the GNU C Library; if not, see
00db10
+   <http://www.gnu.org/licenses/>.  */
00db10
+
00db10
+#include <wchar.h>
00db10
+
00db10
+#ifndef NOT_IN_libc
00db10
+# define WCSCPY  __wcscpy_ppc
00db10
+#endif
00db10
+
00db10
+extern __typeof (wcscpy) __wcscpy_ppc;
00db10
+
00db10
+#include <wcsmbs/wcscpy.c>
00db10
diff --git glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/Makefile glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/Makefile
00db10
index b4504b7..7113212 100644
00db10
--- glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/Makefile
00db10
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/Makefile
00db10
@@ -11,7 +11,7 @@ sysdep_routines += memcpy-power7 memcpy-a2 memcpy-power6 memcpy-cell \
00db10
                   strncmp-power4 strncmp-ppc64 strchr-power7 strchr-ppc64 \
00db10
                   strchrnul-power7 strchrnul-ppc64 wcschr-power7 \
00db10
                   wcschr-power6 wcschr-ppc64 wcsrchr-power7 wcsrchr-power6 \
00db10
-                  wcsrchr-ppc64
00db10
+                  wcsrchr-ppc64 wcscpy-power7 wcscpy-power6 wcscpy-ppc64
00db10
 
00db10
 CFLAGS-strncase-power7.c += -mcpu=power7 -funroll-loops
00db10
 CFLAGS-strncase_l-power7.c += -mcpu=power7 -funroll-loops
00db10
@@ -19,4 +19,6 @@ CFLAGS-wcschr-power7.c += -mcpu=power7
00db10
 CFLAGS-wcschr-power6.c += -mcpu=power6
00db10
 CFLAGS-wcsrchr-power7.c += -mcpu=power7
00db10
 CFLAGS-wcsrchr-power6.c += -mcpu=power6
00db10
+CFLAGS-wcscpy-power7.c += -mcpu=power7
00db10
+CFLAGS-wcscpy-power6.c += -mcpu=power6
00db10
 endif
00db10
diff --git glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
00db10
index 6c7422c..2d21ce1 100644
00db10
--- glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
00db10
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
00db10
@@ -213,5 +213,16 @@ __libc_ifunc_impl_list (const char *name, struct libc_ifunc_impl *array,
00db10
              IFUNC_IMPL_ADD (array, i, wcsrchr, 1,
00db10
                              __wcsrchr_ppc))
00db10
 
00db10
+  /* Support sysdeps/powerpc/powerpc64/multiarch/wcscpy.c.  */
00db10
+  IFUNC_IMPL (i, name, wcscpy,
00db10
+             IFUNC_IMPL_ADD (array, i, wcscpy,
00db10
+                             hwcap & PPC_FEATURE_HAS_VSX,
00db10
+                             __wcscpy_power7)
00db10
+             IFUNC_IMPL_ADD (array, i, wcscpy,
00db10
+                             hwcap & PPC_FEATURE_ARCH_2_05,
00db10
+                             __wcscpy_power6)
00db10
+             IFUNC_IMPL_ADD (array, i, wcscpy, 1,
00db10
+                             __wcscpy_ppc))
00db10
+
00db10
   return i;
00db10
 }
00db10
diff --git glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c
00db10
new file mode 100644
00db10
index 0000000..9f4bc41
00db10
--- /dev/null
00db10
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c
00db10
@@ -0,0 +1,19 @@
00db10
+/* wcscpy.c - Wide Character Search for powerpc64/power6.
00db10
+   Copyright (C) 2013-2014 Free Software Foundation, Inc.
00db10
+   This file is part of the GNU C Library.
00db10
+
00db10
+   The GNU C Library is free software; you can redistribute it and/or
00db10
+   modify it under the terms of the GNU Lesser General Public
00db10
+   License as published by the Free Software Foundation; either
00db10
+   version 2.1 of the License, or (at your option) any later version.
00db10
+
00db10
+   The GNU C Library is distributed in the hope that it will be useful,
00db10
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
00db10
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00db10
+   Lesser General Public License for more details.
00db10
+
00db10
+   You should have received a copy of the GNU Lesser General Public
00db10
+   License along with the GNU C Library; see the file COPYING.LIB.  If
00db10
+   not, see <http://www.gnu.org/licenses/>.  */
00db10
+
00db10
+#include <sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c>
00db10
diff --git glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c
00db10
new file mode 100644
00db10
index 0000000..0f37ad4
00db10
--- /dev/null
00db10
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c
00db10
@@ -0,0 +1,19 @@
00db10
+/* wcscpy.c - Wide Character Search for powerpc64/power7.
00db10
+   Copyright (C) 2013-2014 Free Software Foundation, Inc.
00db10
+   This file is part of the GNU C Library.
00db10
+
00db10
+   The GNU C Library is free software; you can redistribute it and/or
00db10
+   modify it under the terms of the GNU Lesser General Public
00db10
+   License as published by the Free Software Foundation; either
00db10
+   version 2.1 of the License, or (at your option) any later version.
00db10
+
00db10
+   The GNU C Library is distributed in the hope that it will be useful,
00db10
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
00db10
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00db10
+   Lesser General Public License for more details.
00db10
+
00db10
+   You should have received a copy of the GNU Lesser General Public
00db10
+   License along with the GNU C Library; see the file COPYING.LIB.  If
00db10
+   not, see <http://www.gnu.org/licenses/>.  */
00db10
+
00db10
+#include <sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c>
00db10
diff --git glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c
00db10
new file mode 100644
00db10
index 0000000..4559569
00db10
--- /dev/null
00db10
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c
00db10
@@ -0,0 +1,18 @@
00db10
+/* Copyright (C) 2013-2014 Free Software Foundation, Inc.
00db10
+   This file is part of the GNU C Library.
00db10
+
00db10
+   The GNU C Library is free software; you can redistribute it and/or
00db10
+   modify it under the terms of the GNU Lesser General Public
00db10
+   License as published by the Free Software Foundation; either
00db10
+   version 2.1 of the License, or (at your option) any later version.
00db10
+
00db10
+   The GNU C Library is distributed in the hope that it will be useful,
00db10
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
00db10
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00db10
+   Lesser General Public License for more details.
00db10
+
00db10
+   You should have received a copy of the GNU Lesser General Public
00db10
+   License along with the GNU C Library; if not, see
00db10
+   <http://www.gnu.org/licenses/>.  */
00db10
+
00db10
+#include <sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c>
00db10
diff --git glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/wcscpy.c glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/wcscpy.c
00db10
new file mode 100644
00db10
index 0000000..5c0a6d3
00db10
--- /dev/null
00db10
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/multiarch/wcscpy.c
00db10
@@ -0,0 +1,36 @@
00db10
+/* Multiple versions of wcscpy.
00db10
+   Copyright (C) 2013-2014 Free Software Foundation, Inc.
00db10
+   This file is part of the GNU C Library.
00db10
+
00db10
+   The GNU C Library is free software; you can redistribute it and/or
00db10
+   modify it under the terms of the GNU Lesser General Public
00db10
+   License as published by the Free Software Foundation; either
00db10
+   version 2.1 of the License, or (at your option) any later version.
00db10
+
00db10
+   The GNU C Library is distributed in the hope that it will be useful,
00db10
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
00db10
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00db10
+   Lesser General Public License for more details.
00db10
+
00db10
+   You should have received a copy of the GNU Lesser General Public
00db10
+   License along with the GNU C Library; if not, see
00db10
+   <http://www.gnu.org/licenses/>.  */
00db10
+
00db10
+#ifndef NOT_IN_libc
00db10
+# include <wchar.h>
00db10
+# include <shlib-compat.h>
00db10
+# include "init-arch.h"
00db10
+
00db10
+extern __typeof (wcscpy) __wcscpy_ppc attribute_hidden;
00db10
+extern __typeof (wcscpy) __wcscpy_power6 attribute_hidden;
00db10
+extern __typeof (wcscpy) __wcscpy_power7 attribute_hidden;
00db10
+
00db10
+libc_ifunc (wcscpy,
00db10
+	     (hwcap & PPC_FEATURE_HAS_VSX)
00db10
+             ? __wcscpy_power7 :
00db10
+	       (hwcap & PPC_FEATURE_ARCH_2_05)
00db10
+	       ? __wcscpy_power6
00db10
+             : __wcscpy_ppc);
00db10
+#else
00db10
+#include <wcsmbs/wcscpy.c>
00db10
+#endif
00db10
diff --git glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/power6/wcscpy.c glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/power6/wcscpy.c
00db10
index 57b706a..722c8f9 100644
00db10
--- glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/power6/wcscpy.c
00db10
+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/power6/wcscpy.c
00db10
@@ -1 +1 @@
00db10
-#include "../../powerpc32/power6/wcscpy.c"
00db10
+#include <sysdeps/powerpc/power6/wcscpy.c>
00db10
diff --git glibc-2.17-c758a686/wcsmbs/wcscpy.c glibc-2.17-c758a686/wcsmbs/wcscpy.c
00db10
index 6dea24d..cec1249 100644
00db10
--- glibc-2.17-c758a686/wcsmbs/wcscpy.c
00db10
+++ glibc-2.17-c758a686/wcsmbs/wcscpy.c
00db10
@@ -19,10 +19,13 @@
00db10
 #include <stddef.h>
00db10
 #include <wchar.h>
00db10
 
00db10
+#ifndef WCSCPY
00db10
+# define WCSCPY wcscpy
00db10
+#endif
00db10
 
00db10
 /* Copy SRC to DEST.  */
00db10
 wchar_t *
00db10
-wcscpy (dest, src)
00db10
+WCSCPY (dest, src)
00db10
      wchar_t *dest;
00db10
      const wchar_t *src;
00db10
 {
00db10
-- 
00db10
1.8.3.1
00db10