Rockbox mail archiveSubject: Re: Update to the AJRv1 recharging
Re: Update to the AJRv1 recharging
From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Thu, 24 Feb 2005 07:50:11 +0100
Jerry Van Baren wrote:
> I was just hoping that a
> simple close would get the job done. My "work-around" is satisfactory
> (at least to me), given that the logging "feature" is something that
> only a very few people will be using.
You could call fsync() after each write. Then all information is flushed
to disk, just as if you closed the file.
Received on 2005-02-24