This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: How does mmap () relate to the binary / text mode flag of open ()
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 23 Jul 2002 15:44:03 -0400
- Subject: Re: How does mmap () relate to the binary / text mode flag of open ()
- References: <3632490659.20020723213757@gmx.net>
- Reply-to: cygwin at cygwin dot com
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/