1WMEMMOVE(3P)               POSIX Programmer's Manual              WMEMMOVE(3P)
2
3
4

PROLOG

6       This  manual  page is part of the POSIX Programmer's Manual.  The Linux
7       implementation of this interface may differ (consult the  corresponding
8       Linux  manual page for details of Linux behavior), or the interface may
9       not be implemented on Linux.
10

NAME

12       wmemmove - copy wide characters in memory with overlapping areas
13

SYNOPSIS

15       #include <wchar.h>
16
17       wchar_t *wmemmove(wchar_t *ws1, const wchar_t *ws2, size_t n);
18
19

DESCRIPTION

21       The wmemmove() function shall copy n wide characters  from  the  object
22       pointed  to  by ws2 to the object pointed to by ws1. Copying shall take
23       place as if the n wide characters from the object pointed to by ws2 are
24       first  copied into a temporary array of n wide characters that does not
25       overlap the objects pointed to by ws1 or ws2, and then the n wide char‐
26       acters  from  the temporary array are copied into the object pointed to
27       by ws1.
28
29       This function shall not be affected by locale and  all  wchar_t  values
30       shall  be treated identically. The null wide character and wchar_t val‐
31       ues not corresponding to valid characters shall  not  be  treated  spe‐
32       cially.
33
34       If  n  is zero, the application shall ensure that ws1 and ws2 are valid
35       pointers, and the function shall copy zero wide characters.
36

RETURN VALUE

38       The wmemmove() function shall return the value of ws1.
39

ERRORS

41       No errors are defined
42
43       The following sections are informative.
44

EXAMPLES

46       None.
47

APPLICATION USAGE

49       None.
50

RATIONALE

52       None.
53

FUTURE DIRECTIONS

55       None.
56

SEE ALSO

58       wmemchr(), wmemcmp(), wmemcpy(), wmemset(), the Base Definitions volume
59       of IEEE Std 1003.1-2001, <wchar.h>
60
62       Portions  of  this text are reprinted and reproduced in electronic form
63       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
64       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
65       Specifications Issue 6, Copyright (C) 2001-2003  by  the  Institute  of
66       Electrical  and  Electronics  Engineers, Inc and The Open Group. In the
67       event of any discrepancy between this version and the original IEEE and
68       The  Open Group Standard, the original IEEE and The Open Group Standard
69       is the referee document. The original Standard can be  obtained  online
70       at http://www.opengroup.org/unix/online.html .
71
72
73
74IEEE/The Open Group                  2003                         WMEMMOVE(3P)
Impressum