Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ v10.0 : C library - <b>synopsis:</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Synopsis:
    #include <string.h>
    void *memmove( void *dst,
                   const void *src,
                   size_t length );
    void __far *_fmemmove( void __far *dst,
                           const void __far *src,
                           size_t length );

Description:
    The memmove and _fmemmove functions copy length characters from the
    buffer pointed to by src to the buffer pointed to by dst.  Copying of
    overlapping objects will take place properly.  See the  memcpy or
     _fmemcpy functions to copy objects that do not overlap.

    The _fmemmove function is a data model independent form of the memmove
    function.  It accepts far pointer arguments and returns a far pointer.
     It is most useful in mixed memory model applications.

Returns:
    The memmove and _fmemmove functions return dst.

See Also:
    memcpy, _fmemcpy, memset, _fmemset

Example:
    #include <string.h>

    void main()
      {
        char buffer[80];

        memmove( buffer+1, buffer, 79 );
        buffer[0] = '*';
      }

Classification:
    memmove is ANSI, _fmemmove is not ANSI

Systems:
     memmove - All

    _fmemmove - All

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