]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/wmemcpy.3
proc.5: Add "sf" to VmFlags in /proc/[pid]/smaps
[thirdparty/man-pages.git] / man3 / wmemcpy.3
CommitLineData
fea681da
MK
1.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2.\"
89e3ffe9 3.\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
fea681da
MK
4.\" This is free documentation; you can redistribute it and/or
5.\" modify it under the terms of the GNU General Public License as
6.\" published by the Free Software Foundation; either version 2 of
7.\" the License, or (at your option) any later version.
fe382ebf 8.\" %%%LICENSE_END
fea681da
MK
9.\"
10.\" References consulted:
11.\" GNU glibc-2 source code and manual
12.\" Dinkumware C library reference http://www.dinkumware.com/
008f1ecc 13.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
fea681da
MK
14.\" ISO/IEC 9899:1999
15.\"
460495ca 16.TH WMEMCPY 3 2015-08-08 "GNU" "Linux Programmer's Manual"
fea681da
MK
17.SH NAME
18wmemcpy \- copy an array of wide-characters
19.SH SYNOPSIS
20.nf
21.B #include <wchar.h>
68e4db0a 22.PP
fea681da
MK
23.BI "wchar_t *wmemcpy(wchar_t *" dest ", const wchar_t *" src ", size_t " n );
24.fi
25.SH DESCRIPTION
60a90ecd
MK
26The
27.BR wmemcpy ()
28function is the wide-character equivalent of the
29.BR memcpy (3)
30function.
35cfd378
MK
31It copies
32.I n
33wide characters from the array starting at
34.I src
35to the array starting at
36.IR dest .
fea681da 37.PP
60a90ecd
MK
38The arrays may not overlap; use
39.BR wmemmove (3)
40to copy between overlapping
fea681da
MK
41arrays.
42.PP
35cfd378
MK
43The programmer must ensure that there is room for at least
44.I n
45wide
46characters at
47.IR dest .
47297adb 48.SH RETURN VALUE
60a90ecd 49.BR wmemcpy ()
35cfd378
MK
50returns
51.IR dest .
851daa08 52.SH ATTRIBUTES
a882da7f
PH
53For an explanation of the terms used in this section, see
54.BR attributes (7).
55.TS
56allbox;
57lb lb lb
58l l l.
59Interface Attribute Value
60T{
851daa08 61.BR wmemcpy ()
a882da7f
PH
62T} Thread safety MT-Safe
63.TE
47297adb 64.SH CONFORMING TO
9c0de892 65POSIX.1-2001, POSIX.1-2008, C99.
47297adb 66.SH SEE ALSO
fea681da
MK
67.BR memcpy (3),
68.BR wcscpy (3),
69.BR wmemmove (3),
70.BR wmempcpy (3)