X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/e1deb7c3bc0500aabf5d099adb231f6d1d27f01d..b30c4e8f1aef96f6fdc93da9f125545f5f74d06e:/fatfs/doc/en/chmod.html diff --git a/fatfs/doc/en/chmod.html b/fatfs/doc/en/chmod.html index 6d53974..6a3ffd0 100644 --- a/fatfs/doc/en/chmod.html +++ b/fatfs/doc/en/chmod.html @@ -66,13 +66,13 @@ FRESULT f_chmod (

Description

-

The f_chmod() function changes the attribute of a file or sub-directory.

+

The f_chmod function changes the attribute of a file or sub-directory.

QuickInfo

-

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

+

Available when _FS_READONLY == 0 and _USE_CHMOD == 1.

@@ -80,7 +80,7 @@ FRESULT f_chmod (

Example

     /* Set read-only flag, clear archive flag and others are left unchanged. */
-    f_chmod("file.txt", AR_RDO, AR_RDO | AR_ARC);
+    f_chmod("file.txt", AM_RDO, AM_RDO | AM_ARC);