In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Libfat: Difference between revisions

From WiiBrew
Jump to navigation Jump to search
CarstenK (talk | contribs)
new page with download link and category
 
Crayon (talk | contribs)
Version is 1.0.12
 
(29 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{Infobox homebrewapp
{{lowercase title}}
| image =
{{Infobox development tools
| title = libfat
| title = libfat
| description = Library
| author =
| type = Development
| type = library
| version     = 20080530
| version = 1.0.12
| author = Community Project
| download = [http://sourceforge.net/project/showfiles.php?group_id=114505 Sourceforge]
| source = Yes
}}
}}


If you get the error "warning: fat.h: No such file or directory" when compiling, you need to [http://sourceforge.net/project/showfiles.php?group_id=114505 download] libfat.  
'''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==
== Installation ==


Move the 3 files, 2 static libraries and 1 header, into their corresponding subdirectories under your devkitPro [[libogc]] installation, i.e. /opt/devkitpro/libogc
libfat is included as part of [[devkitPPC]], just specify -lfat in LIBS section of your Makefile to start using it.


[[Category:Libraries]]
== Sample Code ==
[[Category:Homebrew using libfat]]
 
The following is a piece of sample code that illustrates using libfat to do a recursive directory listing of the SD card.
* [[Media:Directory.zip|Sample code]]
 
== See Also ==
 
* [[:Category:Homebrew using libfat|Homebrew using libfat]]
* [[Libntfs]]
* [[LibELM]]

Latest revision as of 23:26, 13 April 2014

libfat
General
TypeLibrary
Version1.0.12

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.

See Also