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

wmemcpy.3p (2651B)


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