X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Newsgroups: comp.os.msdos.djgpp Subject: Re: reading from com1: => driving me nuts From: muellernick AT gmx DOT de (=?ISO-8859-1?Q?Nick_M=FCller?=) Date: Wed, 12 Oct 2005 20:50:55 +0200 Message-ID: <1h4c762.15bf05wv6vrz7N%muellernick@gmx.de> References: <1h4c4cp.1b942cr1g5grtnN%muellernick AT gmx DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Organization: messy desktop AKA messy shop User-Agent: MacSOUP/D-2.7 (unregistered for 166 days) NNTP-Posting-Host: 84.57.20.111 X-Trace: news.arcor-ip.de 1129143060 84.57.20.111 (12 Oct 2005 20:51:00 +0200) Lines: 15 X-Complaints-To: abuse AT arcor-ip DOT de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Nick Müller wrote: > What am I doing wrong? I need to put a setvbuf(file, NULL, _IONBF, 0); right after the fopen. PJ Plauger's "The Standard C library" helped again ... Nick -- Motor Modelle // Engine Models http://www.motor-manufaktur.de