]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - fatfs/doc/en/size.html
Merge branch 'chan-fatfs' into fatfs-integration
[z180-stamp.git] / fatfs / doc / en / size.html
index bb786c612087a25b597838b13f01d1a957d4ecee..08990c614c0f278599e202503a3a556698e55200 100644 (file)
@@ -15,7 +15,7 @@
 <h2>f_size</h2>\r
 <p>The f_size function gets the size of a file.</p>\r
 <pre>\r
-DWORD f_size (\r
+FSIZE_t f_size (\r
   FIL* <span class="arg">fp</span>   <span class="c">/* [IN] File object */</span>\r
 );\r
 </pre>\r
@@ -39,9 +39,9 @@ DWORD f_size (
 \r
 <div class="para desc">\r
 <h4>Description</h4>\r
-<p>In this revision, the <tt>f_size()</tt> function is implemented as a macro.</p>\r
+<p>In this revision, the <tt>f_size</tt> function is implemented as a macro. It does not have any validation and mutual exclusion.</p>\r
 <pre>\r
-<span class="k">#define</span> f_size(fp) ((fp)->fsize)\r
+<span class="k">#define</span> f_size(fp) ((fp)->obj.objsize)\r
 </pre>\r
 </div>\r
 \r