logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

wmemmove.3p (2998B)


  1. '\" et
  2. .TH WMEMMOVE "3P" 2017 "IEEE/The Open Group" "POSIX Programmer's Manual"
  3. .\"
  4. .SH PROLOG
  5. This manual page is part of the POSIX Programmer's Manual.
  6. The Linux implementation of this interface may differ (consult
  7. the corresponding Linux manual page for details of Linux behavior),
  8. or the interface may not be implemented on Linux.
  9. .\"
  10. .SH NAME
  11. wmemmove
  12. \(em copy wide characters in memory with overlapping areas
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <wchar.h>
  17. .P
  18. wchar_t *wmemmove(wchar_t *\fIws1\fP, const wchar_t *\fIws2\fP, size_t \fIn\fP);
  19. .fi
  20. .SH DESCRIPTION
  21. The functionality described on this reference page is aligned with the
  22. ISO\ C standard. Any conflict between the requirements described here and the
  23. ISO\ C standard is unintentional. This volume of POSIX.1\(hy2017 defers to the ISO\ C standard.
  24. .P
  25. The
  26. \fIwmemmove\fR()
  27. function shall copy
  28. .IR n
  29. wide characters from the object pointed to by
  30. .IR ws2
  31. to the object pointed to by
  32. .IR ws1 .
  33. Copying shall take place as if the
  34. .IR n
  35. wide characters from the object pointed to by
  36. .IR ws2
  37. are first copied into a temporary array of
  38. .IR n
  39. wide characters that does not overlap the objects pointed to by
  40. .IR ws1
  41. or
  42. .IR ws2 ,
  43. and then the
  44. .IR n
  45. wide characters from the temporary array are copied into the object
  46. pointed to by
  47. .IR ws1 .
  48. .P
  49. This function shall not be affected by locale and all
  50. .BR wchar_t
  51. values shall be treated identically. The null wide character and
  52. .BR wchar_t
  53. values not corresponding to valid characters shall not be treated
  54. specially.
  55. .P
  56. If
  57. .IR n
  58. is zero, the application shall ensure that
  59. .IR ws1
  60. and
  61. .IR ws2
  62. are valid pointers, and the function shall copy zero wide characters.
  63. .SH "RETURN VALUE"
  64. The
  65. \fIwmemmove\fR()
  66. function shall return the value of
  67. .IR ws1 .
  68. .SH ERRORS
  69. No errors are defined
  70. .LP
  71. .IR "The following sections are informative."
  72. .SH EXAMPLES
  73. None.
  74. .SH "APPLICATION USAGE"
  75. None.
  76. .SH RATIONALE
  77. None.
  78. .SH "FUTURE DIRECTIONS"
  79. None.
  80. .SH "SEE ALSO"
  81. .IR "\fIwmemchr\fR\^(\|)",
  82. .IR "\fIwmemcmp\fR\^(\|)",
  83. .IR "\fIwmemcpy\fR\^(\|)",
  84. .IR "\fIwmemset\fR\^(\|)"
  85. .P
  86. The Base Definitions volume of POSIX.1\(hy2017,
  87. .IR "\fB<wchar.h>\fP"
  88. .\"
  89. .SH COPYRIGHT
  90. Portions of this text are reprinted and reproduced in electronic form
  91. from IEEE Std 1003.1-2017, Standard for Information Technology
  92. -- Portable Operating System Interface (POSIX), The Open Group Base
  93. Specifications Issue 7, 2018 Edition,
  94. Copyright (C) 2018 by the Institute of
  95. Electrical and Electronics Engineers, Inc and The Open Group.
  96. In the event of any discrepancy between this version and the original IEEE and
  97. The Open Group Standard, the original IEEE and The Open Group Standard
  98. is the referee document. The original Standard can be obtained online at
  99. http://www.opengroup.org/unix/online.html .
  100. .PP
  101. Any typographical or formatting errors that appear
  102. in this page are most likely
  103. to have been introduced during the conversion of the source files to
  104. man page format. To report such errors, see
  105. https://www.kernel.org/doc/man-pages/reporting_bugs.html .