delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/11/20:16:50

From: John Kugelman <kugelman AT mnsinc DOT com>
Newsgroups: comp.os.msdos.djgpp,comp.lang.c
Subject: Re: Copying memory to memory problems
Date: Sat, 11 Jul 1998 20:12:40 -0400
Organization: Verio Mid-Atlantic
Lines: 14
Message-ID: <35A7FF78.E1759F3D@mnsinc.com>
References: <35a7cf26 DOT 7861242 AT news DOT unisys DOT com DOT br>
NNTP-Posting-Host: kugelman.mnsinc.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Bruno Barberi Gnecco wrote:
> 
> Is there a backwards memcpy available? If not, what would be the fastest way?
> Please note that the number of bytes to move ahead will not be constant...

memmove() is like memcpy() but it is guaranteed to work with overlapping
data.

-- 
John Kugelman.  kugelman AT mnsinc DOT com

I believe we can change anything.
I believe in my dream.
    - Joe Satriani

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019