fatfs v0.12a July 10, 2016:

- Added support for creating exFAT volume with some changes of f_mkfs().
- Added a file open method FA_OPEN_APPEND. An f_lseek() following f_open() is no longer needed.
- f_forward() is available regardless of _FS_TINY.
- Fixed f_mkfs() creates wrong volume.
- Fixed compilation fails at some configurations, _USE_FASTSEEK and _USE_FORWARD.
- Fixed wrong memory read in create_name().
This commit is contained in:
savelij13 committed 2025-09-11 10:14:29 +03:00
1 parent 1eaa207f01
commit ea14f0f5de
62 files changed
+1232 -969

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ FRESULT f_lseek (
<div class="para desc">
<h4>Description</h4>
<p>The <tt>f_lseek</tt> function moves the file read/write pointer of an open file. The offset can be specified in only origin from top of the file. When an offset beyond the file size is specified at write mode, the file size is expanded to the specified offset. The file data in the expanded area is undefined because no data is written to the file. This is suitable to pre-allocate a cluster chain quickly, for fast write operation. When a contiguous data area needs to be allocated to the file, use <tt>f_expand</tt> function instead. After the <tt>f_lseek</tt> function succeeded, the current read/write pointer should be checked in order to make sure the read/write pointer has been moved correctry. In case of the read/write pointer is not the expected value, either of followings has been occured.</p>
<p>The <tt>f_lseek</tt> function moves the file read/write pointer of an open file. The offset can be specified in only origin from top of the file. When an offset beyond the file size is specified at write mode, the file size is expanded to the specified offset. The file data in the expanded area is <em>undefined</em> because no data is written to the file in this process. This is suitable to pre-allocate a cluster chain quickly, for fast write operation. When a contiguous data area needs to be allocated to the file, use <tt>f_expand</tt> function instead. After the <tt>f_lseek</tt> function succeeded, the current read/write pointer should be checked in order to make sure the read/write pointer has been moved correctry. In case of the read/write pointer is not the expected value, either of followings has been occured.</p>
<ul>
<li>End of file. The specified <tt class="arg">ofs</tt> was clipped at end of the file because the file has been opened in read-only mode.</li>
<li>Disk full. There is no free space on the volume to expand the file.</li>