Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: al012@svtstu.seqeb.gov.au (Anthony Lee)
Subject: When should I close a file?
Date: 1996/01/29	[thread overview]
Message-ID: <DLx4tF.Hs0@un.seqeb.gov.au> (raw)

I have a C program in ULTRIX and OSF.

The program inputs lines of data representing coordinates of lightning
strikes.  The program records the data arrival time and translates
the coordinates (for plotting).  

The datafile can remain open for days before a strike is recorded.
Or in a storm many strikes can arrive within a few seconds.

My question is, if the program run continuously then how often
should I close the file as oppose to just saving it?

Thank you
-- 
Anthony Lee        These are my opinions and not SEQEB.
SEQEB                                            
150 Charlotte Street                   ..--  __o 
Brisbane                          ....--   _ \<,_               
Qld 4000                         ____     (_)/ (_)                       
  
Australia
voice:+61 7 3407 4541            Death to the Daleks!!!!
fax:  +61 7 3407 4607
email: AL012@svtstu.seqeb.gov.au




             reply	other threads:[~1996-01-29  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-01-29  5:00 Anthony Lee [this message]
1996-01-31  5:00 ` When should I close a file? Bill Wendling
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox