fatfs v0.07a Apr 14, 2009:

- Separated out OS dependent code on reentrant cfg.
- Added multiple sector size support.
This commit is contained in:
savelij13 committed 2025-09-11 09:21:30 +03:00
1 parent b94c8f3bf3
commit 3bb1c09ac4
88 files changed
+33446 -3894

No files matched your search

+15 -7
View File
@@ -12,14 +12,18 @@
<div class="para">
<h2>FILINFO</h2>
<p>The <tt>FILINFO</tt> structure holds a file information returned by <tt>f_stat()</tt> and <tt>f_readdir()</tt>.</p>
<p>The <tt>FILINFO</tt> structure holds a file information returned by f_stat and f_readdir function.</p>
<pre>
typedef struct _FILINFO {
DWORD fsize; /* Size */
WORD fdate; /* Date */
WORD ftime; /* Time */
BYTE fattrib; /* Attribute */
char fname[8+1+3+1]; /* Name */
DWORD fsize; /* File size */
WORD fdate; /* Last modified date */
WORD ftime; /* Last modified time */
BYTE fattrib; /* Attribute */
char fname[13]; /* Short file name (8.3 format) */
#if _USE_LFN
char* lfname; /* Pointer to the LFN buffer */
int lfsize; /* Size of LFN buffer [bytes] */
#endif
} FILINFO;
</pre>
</div>
@@ -32,7 +36,7 @@ typedef struct _FILINFO {
<dd>Indicates the date that the file was modified or the directory was created.<br>
<dl>
<dt>bit15:9</dt>
<dd>Year from 1980 (0..127)</dd>
<dd>Year origin from 1980 (0..127)</dd>
<dt>bit8:5</dt>
<dd>Month (1..12)</dd>
<dt>bit4:0</dt>
@@ -54,6 +58,10 @@ typedef struct _FILINFO {
<dd>Indicates the file/directory attribute in combination of <tt>AM_DIR</tt>, <tt>AM_RDO</tt>, <tt>AM_HID</tt>, <tt>AM_SYS</tt> and <tt>AM_ARC</tt>.</dd>
<dt>fname[]</dt>
<dd>Indicates the file/directory name in 8.3 format null-terminated string.</dd>
<dt>lfname</dt>
<dd>Pointer to the buffer to store the long file name. This member must be initialized by application.</dd>
<dt>lfsize</dt>
<dd>Size of long file name buffer. This member must be initialized by application.</dd>
</dl>
<p class="foot"><a href="../00index_e.html">Return</a></p>