memcpy, _fmemcpy
◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
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 a pointer to <dest>.
-♦-