Home
       memmove.3 - scc - simple c99 compiler
  HTML git clone git://git.simple-cc.org/scc
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
       memmove.3 (576B)
       ---
            1 .TH memmove 3
            2 .SH NAME
            3 memmove - copy bytes in memory with overlapping areas
            4 .SH SYNOPSIS
            5 #include <string.h>
            6 
            7 void *memmove (void *s1, const void *s2, size_t n)
            8 .SH DESCRIPTION
            9 The
           10 .BR memmove ()
           11 function copies the first
           12 .I n
           13 bytes of the object pointed to by
           14 .I s2
           15 to the object pointed to by
           16 .IR s1 .
           17 The
           18 .BR memmove ()
           19 function facilitates copying between overlapping memory blocks.
           20 The function shall not copy anything if
           21 .I n
           22 is equal to 0.
           23 .SH RETURN VALUE
           24 The
           25 .BR memmove ()
           26 function shall return the pointer
           27 .IR s1 .
           28 .SH STANDARDS
           29 ISO/IEC 9899:1999 Section 7.21.2.2