Read-only copy of https://elm-chan.org/fsw/ff
- C 84.5%
- HTML 15.3%
- CSS 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| documents | ||
| source | ||
| LICENSE.txt | ||
| README.md | ||
FatFs - Generic FAT Filesystem Module
FatFs is a generic FAT/exFAT filesystem module for small embedded systems.
Table of Contents
Features
- DOS/Windows-compatible FAT/exFAT filesystem
- Very small code footprint and RAM usage
Configuration Options
- Long File Name (LFN) support (ANSI/OEM or Unicode)
- exFAT filesystem support
- 64-bit LBA and GPT support for large storage
- Thread-safe operation for RTOS environments
- Multiple volumes (drives and partitions)
- Variable sector sizes
- Multiple code pages (including DBCS)
- Optional APIs and read-only configurations
Application Interface
File Access
f_open– Open or create a filef_close– Close a filef_read– Read data from a filef_write– Write data to a filef_lseek– Move the read/write pointerf_truncate– Truncate file sizef_sync– Flush cached dataf_forward– Forward data to a streamf_expand– Allocate contiguous spacef_gets– Read a stringf_putc– Write a characterf_puts– Write a stringf_printf– Write formatted textf_tell– Get current file offsetf_eof– Check for end-of-filef_size– Get file sizef_error– Check error status
Directory Access
f_opendir– Open a directoryf_closedir– Close a directoryf_readdir– Read directory entriesf_findfirst– Find first matching entryf_findnext– Find next matching entry
File & Directory Management
f_stat– Check existence/statusf_unlink– Delete file or directoryf_mkdir– Create directoryf_rename– Rename or move
Notes
- Designed for resource-constrained embedded systems
- Filesystem layer is separated from hardware-specific drivers tem for embedded systems.
Read-only copy of (https://elm-chan.org/fsw/ff)