libfat
This is an old revision of this page, as edited by Tantric (talk | contribs) at 17:57, 26 July 2010. It may differ significantly from the current revision. |
libfat is a library for accessing FAT file systems such as those on SD cards and USB mass storage devices. It is included as part of devkitPPC / libogc.
Installation
libfat is included as part of devkitPPC, just specify -lfat in LIBS section of your Makefile to start using it.
Sample Code
The following is a piece of sample code that illustrates using libfat to do a recursive directory listing of the SD card.