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)
From: Bill Napier (napier_at_pobox.com)
Date: 2002-09-06


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...)



  • test/plain attachment: stat.c


  • test/plain attachment: stat.h

good luck!

b

-- 
space for rent



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa