\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
<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