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

memmove.3p (2485B)


  1. '\" et
  2. .TH MEMMOVE "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. memmove
  12. \(em copy bytes in memory with overlapping areas
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <string.h>
  17. .P
  18. void *memmove(void *\fIs1\fP, const void *\fIs2\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. \fImemmove\fR()
  27. function shall copy
  28. .IR n
  29. bytes from the object pointed to by
  30. .IR s2
  31. into the object pointed to by
  32. .IR s1 .
  33. Copying takes place as if the
  34. .IR n
  35. bytes from the object pointed to by
  36. .IR s2
  37. are first copied into a temporary array of
  38. .IR n
  39. bytes that does not overlap the objects pointed to by
  40. .IR s1
  41. and
  42. .IR s2 ,
  43. and then the
  44. .IR n
  45. bytes from the temporary array are copied into the object pointed to by
  46. .IR s1 .
  47. .SH "RETURN VALUE"
  48. The
  49. \fImemmove\fR()
  50. function shall return
  51. .IR s1 ;
  52. no return value is reserved to indicate an error.
  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. The Base Definitions volume of POSIX.1\(hy2017,
  67. .IR "\fB<string.h>\fP"
  68. .\"
  69. .SH COPYRIGHT
  70. Portions of this text are reprinted and reproduced in electronic form
  71. from IEEE Std 1003.1-2017, Standard for Information Technology
  72. -- Portable Operating System Interface (POSIX), The Open Group Base
  73. Specifications Issue 7, 2018 Edition,
  74. Copyright (C) 2018 by the Institute of
  75. Electrical and Electronics Engineers, Inc and The Open Group.
  76. In the event of any discrepancy between this version and the original IEEE and
  77. The Open Group Standard, the original IEEE and The Open Group Standard
  78. is the referee document. The original Standard can be obtained online at
  79. http://www.opengroup.org/unix/online.html .
  80. .PP
  81. Any typographical or formatting errors that appear
  82. in this page are most likely
  83. to have been introduced during the conversion of the source files to
  84. man page format. To report such errors, see
  85. https://www.kernel.org/doc/man-pages/reporting_bugs.html .