delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/15/07:56:03

From: "Rafael García" <rafael AT geninfor DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: reading a currently writting file
Date: Thu, 15 Feb 2001 13:14:18 +0100
Organization: BT Tel. Netnews service (readers)
Lines: 14
Message-ID: <3a8bc878@filemon.telecable.es>
NNTP-Posting-Host: filemon.telecable.es
Mime-Version: 1.0
X-Trace: titan.bt.es 982239263 25115 212.89.0.4 (15 Feb 2001 12:14:23 GMT)
X-Complaints-To: abuse AT bt DOT es
NNTP-Posting-Date: 15 Feb 2001 12:14:23 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
X-Original-NNTP-Posting-Host: cm05118.telecable.es
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have a program that write some information about its work in a LOG file.
When it ends execution I can open it to know what was happening.

But it would be nice if I could read it meanwhile running. If I try to open
the file for reading from another Windows DOS box, fopen() fails.

Is it possible to do?

I suspect it must be simpler under Unix, because of the pipes stuff. But I
don't know if I could use something equivalent with Windows.

Thank you.


- Raw text -


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