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