OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / original / 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
25 .BR wmemcpy ()
26 function is the wide-character equivalent of the
27 .BR memcpy (3)
28 function.
29 It copies \fIn\fP wide characters from the array starting at
30 \fIsrc\fP to the array starting at \fIdest\fP.
31 .PP
32 The arrays may not overlap; use
33 .BR wmemmove (3)
34 to copy between overlapping
35 arrays.
36 .PP
37 The programmer must ensure that there is room for at least \fIn\fP wide
38 characters at \fIdest\fP.
39 .SH "RETURN VALUE"
40 .BR wmemcpy ()
41 returns \fIdest\fP.
42 .SH "CONFORMING TO"
43 C99.
44 .SH "SEE ALSO"
45 .BR memcpy (3),
46 .BR wcscpy (3),
47 .BR wmemmove (3),
48 .BR wmempcpy (3)