This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Missing Win32-fcts {Copy,Move,Fill,Zero}Memory


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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]