www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/22/06:35:05

Date: Fri, 22 Nov 1996 13:19:49 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Just a Fantasy? <bluemars AT mdc DOT net>
Cc: djgpp AT delorie DOT com
Subject: Re: Want to copy one buffer to another... Help!
In-Reply-To: <32950E2C.25F0@mdc.net>
Message-Id: <Pine.SUN.3.91.961122131838.26059F-100000@is>
Mime-Version: 1.0

On Thu, 21 Nov 1996, Just a Fantasy? wrote:

> All I want to do is copy one buffer in memory to another as fast as
> possible. I've been trying with "dosmemput" but it requires the 3rd

Use `memcpy' if the buffers are known to not overlap, or `memmove' if 
they could overlap (`memcpy' is faster).  Both these functions are 
documented in the C library reference which comes with DJGPP.

- Raw text -


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