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/read.html">
|
|
|
|
|
<link rel="stylesheet" href="../css_j.css" type="text/css" media="screen" title="ELM Default">
|
|
|
|
|
<title>FatFs - f_read</title>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<div class="para func">
|
|
|
|
|
<h2>f_read</h2>
|
|
|
|
|
<p><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>f<EFBFBD>[<5B>^<5E><><EFBFBD>ǂݏo<DD8F><6F><EFBFBD>܂<EFBFBD><DC82>B</p>
|
|
|
|
|
<pre>
|
|
|
|
|
FRESULT f_read (
|
|
|
|
|
FIL* <span class="arg">fp</span>, <span class="c">/* [IN] <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>E<EFBFBD>I<EFBFBD>u<EFBFBD>W<EFBFBD>F<EFBFBD>N<EFBFBD>g<EFBFBD>\<5C><><EFBFBD><EFBFBD> */</span>
|
|
|
|
|
void* <span class="arg">buff</span>, <span class="c">/* [OUT] <20>ǂݏo<DD8F><6F><EFBFBD><EFBFBD><EFBFBD>f<EFBFBD>[<5B>^<5E><><EFBFBD>i<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>t<EFBFBD>@ */</span>
|
|
|
|
|
UINT <span class="arg">btr</span>, <span class="c">/* [IN] <20>ǂݏo<DD8F><6F><EFBFBD>o<EFBFBD>C<EFBFBD>g<EFBFBD><67> */</span>
|
|
|
|
|
UINT* <span class="arg">br</span> <span class="c">/* [OUT] <20>ǂݏo<DD8F><6F><EFBFBD>ꂽ<EFBFBD>o<EFBFBD>C<EFBFBD>g<EFBFBD><67> */</span>
|
|
|
|
|
);
|
|
|
|
|
</pre>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="para arg">
|
|
|
|
|
<h4><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|
|
|
|
<dl class="par">
|
|
|
|
|
<dt>fp</dt>
|
|
|
|
|
<dd><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>E<EFBFBD>I<EFBFBD>u<EFBFBD>W<EFBFBD>F<EFBFBD>N<EFBFBD>g<EFBFBD>\<5C><><EFBFBD>̂ւ̃|<7C>C<EFBFBD><43><EFBFBD>^<5E><><EFBFBD>w<EFBFBD>肵<EFBFBD>܂<EFBFBD><DC82>B</dd>
|
|
|
|
|
<dt>buff</dt>
|
|
|
|
|
<dd><EFBFBD>ǂݏo<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>f<EFBFBD>[<5B>^<5E><><EFBFBD>i<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>t<EFBFBD>@<40><><EFBFBD>w<EFBFBD><77><EFBFBD>|<7C>C<EFBFBD><43><EFBFBD>^<5E><><EFBFBD>w<EFBFBD>肵<EFBFBD>܂<EFBFBD><DC82>B</dd>
|
|
|
|
|
<dt>btr</dt>
|
|
|
|
|
<dd><EFBFBD>ǂݏo<EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>C<EFBFBD>g<EFBFBD><EFBFBD>(0<>`<tt>UINT</tt><EFBFBD>^<5E>̍ő<CC8D><C591>l)<29><><EFBFBD>w<EFBFBD>肵<EFBFBD>܂<EFBFBD><DC82>B</dd>
|
|
|
|
|
<dt>br</dt>
|
|
|
|
|
<dd><EFBFBD><EFBFBD><EFBFBD>ۂɓǂݏo<EFBFBD><EFBFBD><EFBFBD>ꂽ<EFBFBD>o<EFBFBD>C<EFBFBD>g<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>i<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>ϐ<EFBFBD><CF90><EFBFBD><EFBFBD>w<EFBFBD><77><EFBFBD>|<7C>C<EFBFBD><43><EFBFBD>^<5E><><EFBFBD>w<EFBFBD>肵<EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>߂<EFBFBD><DF82>l<EFBFBD>͊<CD8A><D690>̐<EFBFBD><CC90>ۂɂ<DB82><C982><EFBFBD><EFBFBD><EFBFBD><EFBFBD>炸<EFBFBD><E782B8><EFBFBD>ɗL<C997><4C><EFBFBD>ł<EFBFBD><C582>B</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="para ret">
|
|
|
|
|
<h4><EFBFBD>߂<EFBFBD><EFBFBD>l</h4>
|
|
|
|
|
<p>
|
|
|
|
|
<a href="rc.html#ok">FR_OK</a>,
|
|
|
|
|
<a href="rc.html#de">FR_DISK_ERR</a>,
|
|
|
|
|
<a href="rc.html#ie">FR_INT_ERR</a>,
|
|
|
|
|
<a href="rc.html#nr">FR_NOT_READY</a>,
|
|
|
|
|
<a href="rc.html#de">FR_DENIED</a>,
|
|
|
|
|
<a href="rc.html#io">FR_INVALID_OBJECT</a>,
|
|
|
|
|
<a href="rc.html#tm">FR_TIMEOUT</a>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="para desc">
|
|
|
|
|
<h4><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|
|
|
|
<p><EFBFBD>ǂݍ<EFBFBD><EFBFBD>݊J<EFBFBD>n<EFBFBD>ʒu<EFBFBD>́A<EFBFBD><EFBFBD><EFBFBD>݂̃<EFBFBD><EFBFBD>[<5B>h/<2F><><EFBFBD>C<EFBFBD>g<EFBFBD>E<EFBFBD>|<7C>C<EFBFBD><43><EFBFBD>^<5E><><EFBFBD><EFBFBD><EFBFBD>ɂȂ<C982><C882>܂<EFBFBD><DC82>B<EFBFBD><42><EFBFBD>[<5B>h/<2F><><EFBFBD>C<EFBFBD>g<EFBFBD>E<EFBFBD>|<7C>C<EFBFBD><43><EFBFBD>^<5E>͓ǂݍ<C782><DD8D>܂ꂽ<DC82>o<EFBFBD>C<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>i<EFBFBD>݂܂<DD82><DC82>B<EFBFBD><EFBFBD><D690><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>́A<tt class="arg">*br</tt><EFBFBD>̒l<EFBFBD><EFBFBD><EFBFBD>`<60>F<EFBFBD>b<EFBFBD>N<EFBFBD><4E><EFBFBD>ׂ<EFBFBD><D782>ł<EFBFBD><C582>B<tt class="arg">*br</tt><EFBFBD><EFBFBD><tt class="arg">btr</tt><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƃ<EFBFBD><EFBFBD>́A<EFBFBD>ǂݍ<EFBFBD><EFBFBD>ݒ<EFBFBD><EFBFBD>Ƀt<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̏I<CC8F>[<5B>ɒB<C992><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƃ<EFBFBD><C682><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482>܂<EFBFBD><DC82>B</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="para comp">
|
|
|
|
|
<h4><EFBFBD>Ή<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|
|
|
|
<p><EFBFBD>S<EFBFBD>Ă̍\<5C><><EFBFBD>Ŏg<C58E>p<EFBFBD>\<5C>ł<EFBFBD><C582>B</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="para ref">
|
|
|
|
|
<h4><EFBFBD>Q<EFBFBD><EFBFBD></h4>
|
|
|
|
|
<p><tt><a href="open.html">f_open</a>, <a href="gets.html">fgets</a>, <a href="write.html">f_write</a>, <a href="close.html">f_close</a>, <a href="sfile.html">FIL</a></tt></p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<p class="foot"><a href="../00index_j.html"><EFBFBD>߂<EFBFBD></a></p>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|