This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Missing Win32-fcts {Copy,Move,Fill,Zero}Memory
- To: Mark Becker <Mark dot Becker at neuroinformatik dot ruhr-uni-bochum dot de>
- Subject: Re: Missing Win32-fcts {Copy,Move,Fill,Zero}Memory
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Wed, 5 Aug 1998 03:15:17 -0500 (CDT)
- 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@cygnus.com" with one line of text: "help".