delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/20/11:18:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.6 required=5.0 tests=AWL,BARRACUDA_BRBL,BAYES_50,RCVD_IN_BL_SPAMCOP_NET
X-Spam-Check-By: sourceware.org
Message-ID: <499ED7D6.7010804@mff.cuni.cz>
Date: Fri, 20 Feb 2009 17:18:30 +0100
From: Pavel Kudrna <Pavel DOT Kudrna AT mff DOT cuni DOT cz>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: fstream - problem with reading/writing to file
References: <499DAEA9 DOT 90309 AT mff DOT cuni DOT cz> <Pine DOT NEB DOT 4 DOT 64 DOT 0902191430250 DOT 24046 AT panix3 DOT panix DOT com> <499DCB5C DOT 2090606 AT sbcglobal DOT net>
In-Reply-To: <499DCB5C.2090606@sbcglobal.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Greg Chicares wrote:
> On 2009-02-19 20:33Z, Tim McDaniel wrote:
>   
> I think you mean C99 7.19.5.3/6, which says
>
> "output shall not be directly followed by input without an intervening
> call to the fflush function or to a file positioning function"
> and vice versa.
>
> The C++ standard refers to the C standard for low-level stuff like this.
>   
Thanks for answer. I should look how it is exactly in C++ because 
fstream::flush() call between
read/write does not help.
Pavel Kudrna

--
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/

- Raw text -


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