]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man/man3/wmemmove.3
man/, share/mk/: Move man*/ to man/
[thirdparty/man-pages.git] / man / man3 / wmemmove.3
CommitLineData
a1eaacb1 1'\" t
fea681da
MK
2.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3.\"
e4a74ca8 4.\" SPDX-License-Identifier: GPL-2.0-or-later
fea681da
MK
5.\"
6.\" References consulted:
7.\" GNU glibc-2 source code and manual
8.\" Dinkumware C library reference http://www.dinkumware.com/
008f1ecc 9.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
fea681da
MK
10.\" ISO/IEC 9899:1999
11.\"
4c1c5274 12.TH wmemmove 3 (date) "Linux man-pages (unreleased)"
fea681da
MK
13.SH NAME
14wmemmove \- copy an array of wide-characters
1bfd2c31
AC
15.SH LIBRARY
16Standard C library
8fc3b2cf 17.RI ( libc ", " \-lc )
fea681da
MK
18.SH SYNOPSIS
19.nf
20.B #include <wchar.h>
c6d039a3 21.P
1eed67e7
AC
22.BI "wchar_t *wmemmove(wchar_t " dest [. n "], const wchar_t " src [. n "], \
23size_t " n );
fea681da
MK
24.fi
25.SH DESCRIPTION
60a90ecd
MK
26The
27.BR wmemmove ()
28function is the wide-character equivalent of the
29.BR memmove (3)
30function.
35cfd378
MK
31It copies
32.I n
33wide characters from the array
34starting at
35.I src
36to the array starting at
37.IR dest .
c13182ef 38The arrays may
fea681da 39overlap.
c6d039a3 40.P
35cfd378
MK
41The programmer must ensure that there is room for at least
42.I n
43wide
44characters at
45.IR dest .
47297adb 46.SH RETURN VALUE
60a90ecd 47.BR wmemmove ()
35cfd378
MK
48returns
49.IR dest .
c70b981b 50.SH ATTRIBUTES
e1abeb95
PH
51For an explanation of the terms used in this section, see
52.BR attributes (7).
53.TS
54allbox;
c466875e 55lbx lb lb
e1abeb95
PH
56l l l.
57Interface Attribute Value
58T{
9e54434e
BR
59.na
60.nh
c70b981b 61.BR wmemmove ()
e1abeb95
PH
62T} Thread safety MT-Safe
63.TE
3113c7f3 64.SH STANDARDS
4131356c
AC
65C11, POSIX.1-2008.
66.SH HISTORY
67POSIX.1-2001, C99.
47297adb 68.SH SEE ALSO
fea681da
MK
69.BR memmove (3),
70.BR wmemcpy (3)