delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/08/05/11:23:55

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: Missing Win32-fcts {Copy,Move,Fill,Zero}Memory
5 Aug 1998 11:23:55 -0700 :
Message-ID: <Pine.SUN.3.93.980805031238.25726D-100000.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <35C6F39A DOT BF45B6 AT neuroinformatik DOT ruhr-uni-bochum DOT de>
Mime-Version: 1.0
To: Mark Becker <Mark DOT Becker AT neuroinformatik DOT ruhr-uni-bochum DOT de>
Cc: gnu-win32 <gnu-win32 AT cygnus DOT com>

On Tue, 4 Aug 1998, Mark Becker wrote:

> 
> Sorry, I've to correct the statement above : only CopyMemory isn't
> implemented in gnu-win32, all the others do exist!
> Anyway, for the sake of completeness it would be nice if CopyMemory
> is implemented too! A simple mapping to the memcpy-fct would be
> sufficient I guess; it's similarly done for MoveMemory, FillMemory and
> ZeroMemory.

I've added this for the next mingw32 release (I'll forward the change to
Cygnus as well). For now, you can just add the following to where
ZeroMemory is defined:
  
  #define CopyMemory (dest, source, len) memcpy ((dest), (source), (len))

Regards,
Mumit

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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