This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: mmap and MAP_FIXED
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 24 Feb 2005 18:33:00 -0500
- Subject: Re: mmap and MAP_FIXED
- References: <421E60A0.8000102@stambulchik.net>
- Reply-to: cygwin at cygwin dot com
On Fri, Feb 25, 2005 at 01:17:52AM +0200, Evgeny Stambulchik wrote:
>There is something strange about mmap(addr, ..., MAP_FIXED) under
>Cygwin. For a reason, it always fails if addr is not on a 16xPAGE_SIZE
>boundary. Here is a short demo:
See:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/mapviewoffileex.asp
Pay particular attention to the description of lpBaseAddress.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/