mmap and MAP_FIXED
Christopher Faylor
cgf-no-personal-reply-please@cygwin.com
Fri Feb 25 08:17:00 GMT 2005
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/
More information about the Cygwin
mailing list