fatfs v0.10 Oct 02,2013:
- Added selection of character encoding on the file. (_STRF_ENCODE) - Added f_closedir(). - Added forced full FAT scan for f_getfree(). (_FS_NOFSINFO) - Added forced mount feature with changes of f_mount(). - Improved behavior of volume auto detection. - Improved write throughput of f_puts() and f_printf(). - Changed argument of f_chdrive(), f_mkfs(), disk_read() and disk_write(). - Fixed f_write() can be truncated when the file size is close to 4GB. - Fixed f_open(), f_mkdir() and f_setlabel() can return incorrect error code.
This commit is contained in:
1 parent
750225eb33
commit
f9a05f6eda
83 files changed
+1636
-1121
No files matched your search
+6
-6
@@ -20,24 +20,24 @@
|
||||
FATFS* fs; <span class="c">/* 親ファイル・システム・オブジェクトへのポインタ */</span>
|
||||
WORD id; <span class="c">/* 親ファイル・システム・オブジェクトのマウントID */</span>
|
||||
BYTE flag; <span class="c">/* ファイル・ステータス・フラグ */</span>
|
||||
BYTE pad1;
|
||||
BYTE err; <span class="c">/* エラー中断フラグ */</span>
|
||||
DWORD fptr; <span class="c">/* ファイル読み書きポインタ (ファイル先頭からのバイト・オフセット) */</span>
|
||||
DWORD fsize; <span class="c">/* ファイル・サイズ(バイト単位) */</span>
|
||||
DWORD sclust; <span class="c">/* ファイル開始クラスタ番号 (set 0 if fsize==0) */</span>
|
||||
DWORD sclust; <span class="c">/* ファイル開始クラスタ番号 (0:割り当て無し) */</span>
|
||||
DWORD clust; <span class="c">/* 現在のクラスタ */</span>
|
||||
DWORD dsect; <span class="c">/* 現在のデータ・セクタ */</span>
|
||||
<span class="k">#if</span> _FS_READONLY == 0
|
||||
<span class="k">#if</span> !_FS_READONLY
|
||||
DWORD dir_sect; <span class="c">/* このファイルのディレクトリ・エントリのあるセクタ */</span>
|
||||
BYTE* dir_ptr; <span class="c">/* このファイルのディレクトリへのポインタ */</span>
|
||||
<span class="k">#endif</span>
|
||||
<span class="k">#if</span> _USE_FASTSEEK
|
||||
DWORD* cltbl; <span class="c">/* ファイルのクラスタ・リンク情報へのポインタ (Nulled on file open) */</span>
|
||||
DWORD* cltbl; <span class="c">/* ファイルのクラスタ・リンク情報へのポインタ (オープン時にNULLがセットされる) */</span>
|
||||
<span class="k">#endif</span>
|
||||
<span class="k">#if</span> _FS_SHARE
|
||||
<span class="k">#if</span> _FS_LOCK
|
||||
UINT lockid; <span class="c">/* ファイル・ロックID */</span>
|
||||
<span class="k">#endif</span>
|
||||
<span class="k">#if</span> !_FS_TINY
|
||||
BYTE buf[_MAX_SS]; <span class="c">/* データ転送バッファ */</span>
|
||||
BYTE buf[_MAX_SS]; <span class="c">/* ファイル・プライベート・データ転送バッファ */</span>
|
||||
<span class="k">#endif</span>
|
||||
} FIL;
|
||||
</pre>
|
||||
|
||||
Reference in new issue
Block a user