memmove.html 760 B

12345678910111213141516171819202122232425262728293031323334
  1. <html>
  2. <head>
  3. <title>memmove</title>
  4. <body bgcolor=#ffffff>
  5. <h2 align=center>memmove</h2>
  6. <h4 align=center>OS/161 Reference Manual</h4>
  7. <h3>Name</h3>
  8. memmove - copy region of memory
  9. <h3>Library</h3>
  10. Standard C Library (libc, -lc)
  11. <h3>Synopsis</h3>
  12. #include &lt;string.h&gt;<br>
  13. <br>
  14. void *<br>
  15. memmove(void *<em>dest</em>, const void *<em>src</em>, size_t <em>len</em>);
  16. <h3>Description</h3>
  17. The block of memory beginning at <em>src</em>, of length <em>len</em>,
  18. is copied to <em>dest</em>. <em>dest</em> must point to a region large
  19. enough to hold it.
  20. <p>
  21. Unlike <A HREF=memcpy.html>memcpy</A>, memmove is guaranteed to
  22. operate correctly if <em>src</em> and <em>dest</em> overlap.
  23. <h3>Return Values</h3>
  24. memmove returns <em>dest</em>.
  25. </body>
  26. </html>