]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3/wmemcpy.3
bugs.debian.org/cgi-bin/bugreport.cgi?bug=237305
[thirdparty/man-pages.git] / man3 / wmemcpy.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
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.
7 .\"
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
12 .\" ISO/IEC 9899:1999
13 .\"
14 .TH WMEMCPY 3 1999-07-25 "GNU" "Linux Programmer's Manual"
15 .SH NAME
16 wmemcpy \- copy an array of wide-characters
17 .SH SYNOPSIS
18 .nf
19 .B #include <wchar.h>
20 .sp
21 .BI "wchar_t *wmemcpy(wchar_t *" dest ", const wchar_t *" src ", size_t " n );
22 .fi
23 .SH DESCRIPTION
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.
27 .PP
28 The arrays may not overlap; use \fBwmemmove\fP(3) to copy between overlapping
29 arrays.
30 .PP
31 The programmer must ensure that there is room for at least \fIn\fP wide
32 characters at \fIdest\fP.
33 .SH "RETURN VALUE"
34 \fBwmemcpy\fP returns \fIdest\fP.
35 .SH "CONFORMING TO"
36 ISO/ANSI C, UNIX98
37 .SH "SEE ALSO"
38 .BR memcpy (3),
39 .BR wcscpy (3),
40 .BR wmemmove (3),
41 .BR wmempcpy (3)