X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/05437fb4cdb907816a4fc3ffafa2617fcf33266a..b30c4e8f1aef96f6fdc93da9f125545f5f74d06e:/fatfs/doc/en/getlabel.html diff --git a/fatfs/doc/en/getlabel.html b/fatfs/doc/en/getlabel.html index 736792f..cec65aa 100644 --- a/fatfs/doc/en/getlabel.html +++ b/fatfs/doc/en/getlabel.html @@ -29,7 +29,7 @@ FRESULT f_getlabel (
path
Pointer to the null-terminated string that specifies the logical drive. Null-string specifies the default drive.
label
-
Pointer to the buffer to store the volume label. The buffer size must be at least 12 items. If the volume has no label, a null-string will be returned. Set null pointer if this information is not needed.
+
Pointer to the buffer to store the volume label. The buffer size must be at least 24 items at _LFN_UNICODE == 0 or 12 items at _LFN_UNICODE == 1. If the volume has no label, a null-string will be returned. Set null pointer if this information is not needed.
vsn
Pointer to the DWORD variable to store the volume serial number. Set null pointer if this information is not needed.
@@ -60,7 +60,7 @@ FRESULT f_getlabel (

Example

-    char str[12];
+    char str[24];
 
     /* Get volume label of the default drive */
     f_getlabel("", str, 0);