X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/70702af1370e44e32fb2c3c507e4759a187b4fe5..289f6a146c0b2087607d8d8659531ea90142779a:/fatfs/documents/doc/size.html diff --git a/fatfs/documents/doc/size.html b/fatfs/documents/doc/size.html new file mode 100644 index 0000000..0be1a76 --- /dev/null +++ b/fatfs/documents/doc/size.html @@ -0,0 +1,62 @@ + + +
+ + + + + +The f_size function gets the size of a file.
++FSIZE_t f_size ( + FIL* fp /* [IN] File object */ +); ++
Returns the size of the file in unit of byte.
+In this revision, the f_size function is implemented as a macro. It does not have any validation and mutual exclusion.
+
+#define f_size(fp) ((fp)->obj.objsize)
+
+Always available.
+