I'm looking for a way to Browse the HDD, but I don't know how to read the contents of a directory. I'm sure there must be a function in the C library there somewhere, but so far I haven't been able to find a reference to it. Can somebody point me in the right direction?
I'd prefer something that just reads the contents to an array or something, as opposed to displaying the text directly, since the interface will be drawn to video memory, as well as indicating which entries are files and which are directories to allow proper navigation.
Cheers.