fatfs v0.08a Aug 16,2010:

- Added f_getcwd(). (_FS_RPATH = 2)
- Added sector erase feature. (_USE_ERASE)
- Moved file lock semaphore table from fs object to the bss.
- Fixed a wrong directory entry is created on non-LFN cfg when the given name contains ';'.
- Fixed f_mkfs() creates wrong FAT32 volume.
This commit is contained in:
savelij13 committed 2025-09-11 09:43:16 +03:00
1 parent 46155916b1
commit 625f3adcbb
55 files changed
+865 -869

No files matched your search

+3 -3
View File
@@ -21,9 +21,9 @@ typedef struct {
WORD id; <span>/* 親ファイル・システム・オブジェクトのマウントID */</span>
BYTE flag; <span>/* ファイル・ステータス・フラグ */</span>
BYTE pad1;
DWORD fptr; <span>/* ファイル読み書きポインタ(ファイル先頭からのバイト・オフセット) */</span>
DWORD fptr; <span>/* ファイル読み書きポインタ (ファイル先頭からのバイト・オフセット) */</span>
DWORD fsize; <span>/* ファイル・サイズ(バイト単位) */</span>
DWORD org_clust; <span>/* ファイル開始クラスタ番号 (0: fsize==0) */</span>
DWORD org_clust; <span>/* ファイル開始クラスタ番号 (0 on fsize==0) */</span>
DWORD curr_clust; <span>/* 現在のクラスタ */</span>
DWORD dsect; <span>/* 現在のデータ・セクタ */</span>
#if _FS_READONLY == 0
@@ -31,7 +31,7 @@ typedef struct {
BYTE* dir_ptr; <span>/* このファイルのディレクトリへのポインタ */</span>
#endif
#if _USE_FASTSEEK
DWORD* cltbl; <span>/* ファイルのクラスタ・リンク情報へのポインタ */</span>
DWORD* cltbl; <span>/* ファイルのクラスタ・リンク情報へのポインタ (Nulled on file open) */</span>
#endif
#if _FS_SHARE
UINT lockid; <span>/* ファイル・ロックID */</span>