Mail Archives: djgpp/2005/10/13/17:01:05

X-Authentication-Warning: 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: <>
References: <1h4c4cp.1b942cr1g5grtnN%muellernick AT gmx DOT de>
MIME-Version: 1.0
Organization: messy desktop AKA messy shop
User-Agent: MacSOUP/D-2.7 (unregistered for 166 days)
X-Trace: 1129143060 (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 <muellernick AT gmx DOT de> 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 ...

Motor Modelle // Engine Models

- Raw text -

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