delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/23/15:44:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: Tue, 23 Jul 2002 15:44:03 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: How does mmap () relate to the binary / text mode flag of open ()
Message-ID: <20020723194403.GC25780@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3632490659 DOT 20020723213757 AT gmx DOT net>
Mime-Version: 1.0
In-Reply-To: <3632490659.20020723213757@gmx.net>
User-Agent: Mutt/1.3.23.1i

On Tue, Jul 23, 2002 at 09:37:57PM +0200, Pavel Tsekov wrote:
>Does the O_BINARY / O_TEXT flag change the behaviour of mmap () ? I
>red some mmap() manpages but none of them give a clear explanation :(
>It looks like mmap () on Cygwin doesn't care about it and just maps
>the file as it is on the disk. Can anyone confirm this ?

I don't know what other behavior you'd expect.  How could mmap possibly
do anything other than provide the information exactly as it exists on
disk?

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019