Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo C - <b>memmove() move a block of bytes</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
memmove()                Move a Block of Bytes

 #include   <string.h>
 #include   <mem.h>

 void       *memmove(destin,source,n);
 void       *destin;                     Destination
 void       *source;                     Source
 unsigned   n;                           Number of bytes

    memmove() copies a block of 'n' bytes from 'source' to 'destin'. If
    the source and destination blocks overlap, the copy direction is
    chosen so that overlapping bytes are copied correctly.

    Returns:    'destin' is returned.

See Also: memcpy() memset() memcmp()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson