From: Michiel de Bondt Newsgroups: comp.os.msdos.djgpp Subject: how to flush cprintf output Date: Wed, 16 May 2001 11:43:33 +0200 Organization: University of Nijmegen Lines: 21 Message-ID: <3B024BC5.DE803A4@sci.kun.nl> NNTP-Posting-Host: fanth.sci.kun.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: wnnews.sci.kun.nl 990006213 19048 131.174.132.54 (16 May 2001 09:43:33 GMT) X-Complaints-To: usenet AT sci DOT kun DOT nl NNTP-Posting-Date: Wed, 16 May 2001 09:43:33 +0000 (UTC) X-Mailer: Mozilla 4.75 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello, I did not found this question in the FAQ. I use cprintf some times and then I use printf. But a few times, the printf is done at an old cursor position, i.e. the cursor is there somewhere in the middle of the cprintfs. The cprintfs are not affected, i.e. they are not done from the position after the printf, but from the right position. So I wish to know the console variant of fflush (stdout) for standard output. Best regards, Michiel