Debian Codegraph @

upstream/debian-trixie/man3/wmemmove.3

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