X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Mon, 25 Oct 2004 15:24:59 -0400 Message-Id: <200410251924.i9PJOxFH018769@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <20041025190735.43963.qmail@web50701.mail.yahoo.com> (message from Lets Go Canes on Mon, 25 Oct 2004 12:07:35 -0700 (PDT)) Subject: Re: fstream and fflush References: <20041025190735 DOT 43963 DOT qmail AT web50701 DOT mail DOT yahoo DOT com> Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > flush flushes the output stream from the library buffer to the OS > buffer - this is generally done automatically every time you output a > newline. Note that DJGPP flushes at a few other nonstandard times as well, in response to the many FAQs we get about it. For example, we flush at the end of printf() (but not fprintf, sprintf, vprintf, etc) because that's commonly used for user prompts which won't have newlines.