1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
8 .\" References consulted:
9 .\" GNU glibc-2 source code and manual
10 .\" Dinkumware C library reference http://www.dinkumware.com/
11 .\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html
14 .TH WMEMCPY 3 1999-07-25 "GNU" "Linux Programmer's Manual"
16 wmemcpy \- copy an array of wide-characters
21 .BI "wchar_t *wmemcpy(wchar_t *" dest ", const wchar_t *" src ", size_t " n );
24 The \fBwmemcpy\fP function is the wide-character equivalent of the \fBmemcpy\fP
25 function. It copies \fIn\fP wide characters from the array starting at
26 \fIsrc\fP to the array starting at \fIdest\fP.
28 The arrays may not overlap; use \fBwmemmove\fP(3) to copy between overlapping
31 The programmer must ensure that there is room for at least \fIn\fP wide
32 characters at \fIdest\fP.
34 \fBwmemcpy\fP returns \fIdest\fP.