X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/b4e3fab85fcd9f5b1502ec991c81302b910492d3:/fatfs/doc/en/rename.html..0f3b947bda5f34662a611272b9f12199e0da9aca:/fatfs/documents/doc/rename.html diff --git a/fatfs/doc/en/rename.html b/fatfs/documents/doc/rename.html similarity index 82% rename from fatfs/doc/en/rename.html rename to fatfs/documents/doc/rename.html index 10cb4fd..326af0d 100644 --- a/fatfs/doc/en/rename.html +++ b/fatfs/documents/doc/rename.html @@ -1,7 +1,7 @@ - + @@ -43,7 +43,6 @@ FRESULT f_rename ( FR_NO_FILE, FR_NO_PATH, FR_INVALID_NAME, -FR_DENIED, FR_EXIST, FR_WRITE_PROTECTED, FR_INVALID_DRIVE, @@ -64,7 +63,7 @@ FRESULT f_rename (

QuickInfo

-

Available when _FS_READONLY == 0 and _FS_MINIMIZE == 0.

+

Available when FF_FS_READONLY == 0 and FF_FS_MINIMIZE == 0.

@@ -72,13 +71,13 @@ FRESULT f_rename (

Example

     /* Rename an object in the default drive */
-    f_rename("oldname.txt", "newname.txt");
+    f_rename("oldname.txt", "newname.txt");
 
     /* Rename an object in the drive 2 */
-    f_rename("2:oldname.txt", "newname.txt");
+    f_rename("2:oldname.txt", "newname.txt");
 
-    /* Rename an object and move it to other directory in the volume */
-    f_rename("log.txt", "old/log0001.txt");
+    /* Rename an object and move it to another directory in the drive */
+    f_rename("log.txt", "old/log0001.txt");