1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
\r
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
\r
5 <meta http-equiv="Content-Style-Type" content="text/css">
\r
6 <link rel="up" title="FatFs" href="../00index_e.html">
\r
7 <link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
\r
8 <title>FatFs - FILINFO</title>
\r
15 <p>The <tt>FILINFO</tt> structure holds a file information returned by f_stat and f_readdir function.</p>
\r
17 typedef struct _FILINFO {
\r
18 DWORD fsize; /* File size */
\r
19 WORD fdate; /* Last modified date */
\r
20 WORD ftime; /* Last modified time */
\r
21 BYTE fattrib; /* Attribute */
\r
22 char fname[13]; /* Short file name (8.3 format) */
\r
24 char* lfname; /* Pointer to the LFN buffer */
\r
25 int lfsize; /* Size of LFN buffer [bytes] */
\r
34 <dd>Indicates size of the file in unit of byte. This is always zero when it is a directory.</dd>
\r
36 <dd>Indicates the date that the file was modified or the directory was created.<br>
\r
39 <dd>Year origin from 1980 (0..127)</dd>
\r
41 <dd>Month (1..12)</dd>
\r
43 <dd>Day (1..31)</dd>
\r
47 <dd>Indicates the time that the file was modified or the directory was created.<br>
\r
50 <dd>Hour (0..23)</dd>
\r
52 <dd>Minute (0..59)</dd>
\r
54 <dd>Second / 2 (0..29)</dd>
\r
58 <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>
\r
60 <dd>Indicates the file/directory name in 8.3 format null-terminated string.</dd>
\r
62 <dd>Pointer to the buffer to store the long file name. This member must be initialized by application.</dd>
\r
64 <dd>Size of long file name buffer. This member must be initialized by application.</dd>
\r
67 <p class="foot"><a href="../00index_e.html">Return</a></p>
\r