fatfs v0.03a Dec 11, 2006:
- Improved cluster scan algolithm to write files fast. - Fixed f_mkdir() creates incorrect directory on FAT32.
This commit is contained in:
1 parent
9a43e8b517
commit
f76dc3a97f
24 files changed
+225
-175
No files matched your search
+3
-2
@@ -64,16 +64,17 @@ FRESULT f_rename (
|
||||
<div class="para">
|
||||
<h4>Description</h4>
|
||||
<p>Rename a file or directory and can move it to other directory. This function is not supported in read-only configuration or minimization level of >= 1.</p>
|
||||
<p>Note: In this revision, moving any directory to other directory collapses the file system.</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="para">
|
||||
<h4>Example</h4>
|
||||
<pre>
|
||||
// Rename an object
|
||||
// Rename file or directory
|
||||
f_rename("oldname.txt", "newname.txt");
|
||||
|
||||
// Rename and move to other directory simultaneously
|
||||
// Rename and move file to other directory simultaneously
|
||||
f_rename("oldname.txt", "dir1/newname.txt");
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user