summaryrefslogtreecommitdiff
path: root/fatfs/doc/en/size.html
diff options
context:
space:
mode:
Diffstat (limited to 'fatfs/doc/en/size.html')
-rw-r--r--fatfs/doc/en/size.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/fatfs/doc/en/size.html b/fatfs/doc/en/size.html
index bb786c6..08990c6 100644
--- a/fatfs/doc/en/size.html
+++ b/fatfs/doc/en/size.html
@@ -15,7 +15,7 @@
<h2>f_size</h2>
<p>The f_size function gets the size of a file.</p>
<pre>
-DWORD f_size (
+FSIZE_t f_size (
FIL* <span class="arg">fp</span> <span class="c">/* [IN] File object */</span>
);
</pre>
@@ -39,9 +39,9 @@ DWORD f_size (
<div class="para desc">
<h4>Description</h4>
-<p>In this revision, the <tt>f_size()</tt> function is implemented as a macro.</p>
+<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>
<pre>
-<span class="k">#define</span> f_size(fp) ((fp)->fsize)
+<span class="k">#define</span> f_size(fp) ((fp)->obj.objsize)
</pre>
</div>