Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: stat function (was Re: Auto-ROLO)

stat function (was Re: Auto-ROLO)

From: Bill Napier <napier_at_pobox.com>
Date: 06 Sep 2002 10:21:28 -0400

On Fri, 6 Sep 2002 09:37:33 -0400, Chris Pimlott <rockbox_at_chris.pimlott.net> said:
> I'd like to make an auto-ROLO feature, where it keeps track of
> the last-modified date of the current firmware and automatically
> reloads it if it changes (after a USB disconnect). Unfortunately,
> we don't have a stat function. Perhaps someone who understands vfat
> could implement one for me? I'm sure it will be of use to others as
> well.

Well, I had one whipped up for something else I was working on for
rockbox (which I then stopped working on when it wasn't going
anywhere). Feel free to start with this (it correctly fills out most
of the fields in the stat structure...)




good luck!

b

-- 
space for rent
  • test/plain attachment: stat.c
  • test/plain attachment: stat.h
Received on 2002-09-06

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy