C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
memcpy, _fmemcpy
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The memcpy and _fmemcpy functions copy <count> bytes of <src> to
     <dest>. If some regions of <src> and <dest> overlap, these
     functions do not ensure that the original <src> bytes in the
     overlapping region are copied before being overwritten. Use
     memmove to handle overlapping regions.
 
     The _fmemcpy function is a model-independent (large model) form of
     the memcpy function and can be called from any point in the
     program.
 
     There is a semantic difference between the function version of
     memcpy and its intrinsic version. The function version supports
     huge pointers in compact-, large-, and huge-model programs, but
     the intrinsic version does not.
 
     Return Value
 
     The memcpy and _fmemcpy functions return the value of <dest>.
                                    -♦-