Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 24 Feb 2005 18:33:00 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: mmap and MAP_FIXED Message-ID: <20050224233300.GA14206@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <421E60A0 DOT 8000102 AT stambulchik DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <421E60A0.8000102@stambulchik.net> User-Agent: Mutt/1.4.1i 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/