2014-08-13 05:48:16 +00:00
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
|
|
|
<html lang="ja">
|
|
|
|
|
<head>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
|
|
|
|
|
<meta http-equiv="Content-Style-Type" content="text/css">
|
|
|
|
|
<link rel="up" title="FatFs" href="../00index_j.html">
|
|
|
|
|
<link rel="alternate" hreflang="en" title="English" href="../en/sfileinfo.html">
|
|
|
|
|
<link rel="stylesheet" href="../css_j.css" type="text/css" media="screen" title="ELM Default">
|
|
|
|
|
<title>FatFs - FILINFO</title>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<div class="para">
|
|
|
|
|
<h2>FILINFO</h2>
|
|
|
|
|
<p><tt>FILINFO</tt><EFBFBD>\<5C><><EFBFBD>̂́A<tt>f_stat(), f_readdir()</tt><EFBFBD>ŕԂ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ێ<EFBFBD><DB8E><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</p>
|
|
|
|
|
<pre>
|
|
|
|
|
<span class="k">typedef</span> <span class="k">struct</span> {
|
|
|
|
|
DWORD fsize; <span class="c">/* <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>E<EFBFBD>T<EFBFBD>C<EFBFBD>Y */</span>
|
|
|
|
|
WORD fdate; <span class="c">/* <20>Ō<EFBFBD><C58C>ɍX<C98D>V<EFBFBD><56><EFBFBD>ꂽ<EFBFBD><EA82BD><EFBFBD>t */</span>
|
|
|
|
|
WORD ftime; <span class="c">/* <20>Ō<EFBFBD><C58C>ɍX<C98D>V<EFBFBD><56><EFBFBD>ꂽ<EFBFBD><EA82BD><EFBFBD><EFBFBD> */</span>
|
|
|
|
|
BYTE fattrib; <span class="c">/* <20>A<EFBFBD>g<EFBFBD><67><EFBFBD>r<EFBFBD><72><EFBFBD>[<5B>g */</span>
|
|
|
|
|
TCHAR fname[13]; <span class="c">/* <20>Z<EFBFBD><5A><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD> (8.3<EFBFBD>t<EFBFBD>H<EFBFBD>[<5B>}<7D>b<EFBFBD>g) */</span>
|
|
|
|
|
<span class="k">#if</span> _USE_LFN
|
|
|
|
|
TCHAR* lfname; <span class="c">/* <20><><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>̃o<CC83>b<EFBFBD>t<EFBFBD>@<40>ւ̃|<7C>C<EFBFBD><43><EFBFBD>^ */</span>
|
|
|
|
|
int lfsize; <span class="c">/* <20><><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>̃o<CC83>b<EFBFBD>t<EFBFBD>@<40>̃T<CC83>C<EFBFBD>Y [<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>] */</span>
|
|
|
|
|
<span class="k">#endif</span>
|
|
|
|
|
} FILINFO;
|
|
|
|
|
</pre>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>o</h4>
|
|
|
|
|
<dl>
|
|
|
|
|
<dt>fsize</dt>
|
|
|
|
|
<dd><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̃o<CC83>C<EFBFBD>g<EFBFBD>P<EFBFBD>ʂ̃T<CC83>C<EFBFBD>Y<EFBFBD><59><EFBFBD>i<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>̏ꍇ<CC8F>͏<EFBFBD><CD8F><EFBFBD>0<EFBFBD>ł<EFBFBD><C582>B</dd>
|
|
|
|
|
<dt>fdate</dt>
|
|
|
|
|
<dd><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̕ύX<CF8D><58><EFBFBD>ꂽ<EFBFBD><EA82BD><EFBFBD>t<EFBFBD>A<EFBFBD>܂<EFBFBD><DC82>̓f<CD83>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>̍쐬<CC8D><EC90AC><EFBFBD>ꂽ<EFBFBD><EA82BD><EFBFBD>t<EFBFBD><74><EFBFBD>i<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B<br>
|
|
|
|
|
<dl>
|
|
|
|
|
<dt>bit15:9</dt>
|
|
|
|
|
<dd>1980<EFBFBD>N<EFBFBD><EFBFBD><EFBFBD>N<EFBFBD>_<EFBFBD>Ƃ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>N<EFBFBD><EFBFBD> 0..127 <20>œ<EFBFBD><C593><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</dd>
|
|
|
|
|
<dt>bit8:5</dt>
|
|
|
|
|
<dd><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1..12 <20>̒l<CC92>œ<EFBFBD><C593><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</dd>
|
|
|
|
|
<dt>bit4:0</dt>
|
|
|
|
|
<dd><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1..31 <20>̒l<CC92>œ<EFBFBD><C593><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt>ftime</dt>
|
|
|
|
|
<dd><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̕ύX<CF8D><58><EFBFBD>ꂽ<EFBFBD><EA82BD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>܂<EFBFBD><DC82>̓f<CD83>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>̍쐬<CC8D><EC90AC><EFBFBD>ꂽ<EFBFBD><EA82BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>i<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B<br>
|
|
|
|
|
<dl>
|
|
|
|
|
<dt>bit15:11</dt>
|
|
|
|
|
<dd><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0..23 <20>̒l<CC92>œ<EFBFBD><C593><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</dd>
|
|
|
|
|
<dt>bit10:5</dt>
|
|
|
|
|
<dd><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0..59 <20>̒l<CC92>œ<EFBFBD><C593><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</dd>
|
|
|
|
|
<dt>bit4:0</dt>
|
|
|
|
|
<dd><EFBFBD>b/2<><32> 0..29 <20>̒l<CC92>œ<EFBFBD><C593><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt>fattrib</dt>
|
|
|
|
|
<dd><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD><EFBFBD><EFBFBD>O<EFBFBD><EFBFBD><EFBFBD>i<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>t<EFBFBD><74><EFBFBD>O<EFBFBD><4F><tt>AM_DIR, AM_RDO, AM_HID, AM_SYS, AM_ARC</tt><EFBFBD>̑g<EFBFBD>ݍ<EFBFBD><EFBFBD>킹<EFBFBD>ƂȂ<EFBFBD><EFBFBD>܂<EFBFBD><EFBFBD>B</dd>
|
|
|
|
|
<dt>fname[]</dt>
|
|
|
|
|
<dd>8.3<EFBFBD>`<60><><EFBFBD>̖<EFBFBD><CC96>O<EFBFBD><4F><tt>'\0'</tt><EFBFBD>ŏI<EFBFBD><EFBFBD><EFBFBD>镶<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƃ<EFBFBD><EFBFBD>Ċi<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD><42>LFN<46>\<5C><><EFBFBD>̂Ƃ<CC82><C682>́A<CD81><41><EFBFBD>ɑ啶<C991><E595B6><EFBFBD>ŕԂ<C595><D482><EFBFBD><EFBFBD>܂<EFBFBD><DC82>BLFN<46>\<5C><><EFBFBD>̂Ƃ<CC82><C682>͒Z<CD92><5A><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD><4F><EFBFBD>Ԃ<EFBFBD><D482><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>AASCII<49>p<EFBFBD><70><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɂȂ<C982><C882>ꍇ<EFBFBD><EA8D87><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</dd>
|
|
|
|
|
<dt>lfname</dt>
|
|
|
|
|
<dd><EFBFBD>Ԃ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>钷<EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>i<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>t<EFBFBD>@<40>ւ̃|<7C>C<EFBFBD><43><EFBFBD>^<5E>B<EFBFBD><42><EFBFBD>̍\<5C><><EFBFBD>̂<EFBFBD><CC82>g<EFBFBD>p<EFBFBD><70><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>ɃA<C983>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>ɂ<EFBFBD><C982>菉<EFBFBD><E88F89><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȃ<EFBFBD><C882><EFBFBD><EFBFBD>Ȃ<CE82><C882>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B<EFBFBD><42><EFBFBD>̃<EFBFBD><CC83><EFBFBD><EFBFBD>o<EFBFBD><6F>NULL<4C><4C><EFBFBD>ݒ肳<DD92><E882B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>LFN<46>͕Ԃ<CD95><D482><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B<EFBFBD><42>LFN<46>\<5C><><EFBFBD>̂Ƃ<CC82><C682>͂<EFBFBD><CD82>̃<EFBFBD><CC83><EFBFBD><EFBFBD>o<EFBFBD>͑<EFBFBD><CD91>݂<EFBFBD><DD82>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B</dd>
|
|
|
|
|
<dt>lfsize</dt>
|
|
|
|
|
<dd><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>i<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>t<EFBFBD>@<40>̃T<CC83>C<EFBFBD>Y(<28>v<EFBFBD>f<EFBFBD><66>)<29>B<EFBFBD><42><EFBFBD>̍\<5C><><EFBFBD>̂<EFBFBD><CC82>g<EFBFBD>p<EFBFBD><70><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>ɃA<C983>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>ɂ<EFBFBD><C982>菉<EFBFBD><E88F89><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȃ<EFBFBD><C882><EFBFBD><EFBFBD>Ȃ<CE82><C882>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B<EFBFBD><42>LFN<46>\<5C><><EFBFBD>̂Ƃ<CC82><C682>͂<EFBFBD><CD82>̃<EFBFBD><CC83><EFBFBD><EFBFBD>o<EFBFBD>͑<EFBFBD><CD91>݂<EFBFBD><DD82>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<p class="foot"><a href="../00index_j.html"><EFBFBD>߂<EFBFBD></a></p>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|