delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/10/13/17:01:05

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

Nick
-- 
Motor Modelle // Engine Models
http://www.motor-manufaktur.de

- Raw text -


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