Debian Codegraph @

upstream/debian-unstable/man3/wmemmove.3

raw
1 '\" t
2 .\" Copyright, Bruno Haible <[email protected]>
3 .\" Copyright, the authors of the Linux man-pages project
4 .\"
5 .\" SPDX-License-Identifier: GPL-2.0-or-later
6 .\"
7 .TH wmemmove 3 2026-02-08 "Linux man-pages 6.18"
8 .SH NAME
9 wmemmove \- copy an array of wide-characters
10 .SH LIBRARY
11 Standard C library
12 .RI ( libc ,\~ \-lc )
13 .SH SYNOPSIS
14 .nf
15 .B #include <wchar.h>
16 .P
17 .BR "wchar_t *wmemmove(" "size_t n;"
18 .BI " wchar_t " dest [ n "], const wchar_t " src [ n "], size_t " n );
19 .fi
20 .SH DESCRIPTION
21 The
22 .BR wmemmove ()
23 function is the wide-character equivalent of the
24 .BR memmove (3)
25 function.
26 It copies
27 .I n
28 wide characters from the array
29 starting at
30 .I src
31 to the array starting at
32 .IR dest .
33 The arrays may
34 overlap.
35 .P
36 The programmer must ensure that there is room for at least
37 .I n
38 wide
39 characters at
40 .IR dest .
41 .SH RETURN VALUE
42 .BR wmemmove ()
43 returns
44 .IR dest .
45 .SH ATTRIBUTES
46 For an explanation of the terms used in this section, see
47 .BR attributes (7).
48 .TS
49 allbox;
50 lbx lb lb
51 l l l.
52 Interface Attribute Value
53 T{
54 .na
55 .nh
56 .BR wmemmove ()
57 T} Thread safety MT-Safe
58 .TE
59 .SH STANDARDS
60 C11, POSIX.1-2008.
61 .SH HISTORY
62 POSIX.1-2001, C99.
63 .SH SEE ALSO
64 .BR memmove (3),
65 .BR wmemcpy (3)