]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - fatfs/doc/en/chmod.html
Merge branch 'chan-fatfs' into fatfs-integration
[z180-stamp.git] / fatfs / doc / en / chmod.html
index 6d53974636654436be4e913e21b6c65b8ef6c786..6a3ffd00084fd18e5870b621a579b03423f197ed 100644 (file)
@@ -66,13 +66,13 @@ FRESULT f_chmod (
 \r
 <div class="para desc">\r
 <h4>Description</h4>\r
-<p>The <tt>f_chmod()</tt> function changes the attribute of a file or sub-directory.</p>\r
+<p>The <tt>f_chmod</tt> function changes the attribute of a file or sub-directory.</p>\r
 </div>\r
 \r
 \r
 <div class="para comp">\r
 <h4>QuickInfo</h4>\r
-<p>Available when <tt>_FS_READONLY == 0</tt> and <tt>_FS_MINIMIZE == 0</tt>.</p>\r
+<p>Available when <tt>_FS_READONLY == 0</tt> and <tt>_USE_CHMOD == 1</tt>.</p>\r
 </div>\r
 \r
 \r
@@ -80,7 +80,7 @@ FRESULT f_chmod (
 <h4>Example</h4>\r
 <pre>\r
     <span class="c">/* Set read-only flag, clear archive flag and others are left unchanged. */</span>\r
-    f_chmod("file.txt", AR_RDO, AR_RDO | AR_ARC);\r
+    f_chmod("file.txt", AM_RDO, AM_RDO | AM_ARC);\r
 </pre>\r
 </div>\r
 \r