delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/21/04:48:26

Date: Wed, 21 Feb 2001 11:40:29 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Rafael García <rafael AT geninfor DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: continuous file reading
In-Reply-To: <3a92c201@filemon.telecable.es>
Message-ID: <Pine.SUN.3.91.1010221114000.18287G-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 20 Feb 2001, Rafael Garc=EDa wrote:

> Now, my question is about the main loop, where I try to read all the time=
,
> because I don't know if it is possible to use some kind of signal to read
> only where file had grown.
>=20
> Any suggestion?

Use the `fstat' library function, it returns info about the file's size
and time stamp by its handle.

- Raw text -


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