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/sync.html">
|
|
|
|
|
<link rel="stylesheet" href="../css_j.css" type="text/css" media="screen" title="ELM Default">
|
|
|
|
|
<title>FatFs - f_sync</title>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<div class="para func">
|
|
|
|
|
<h2>f_sync</h2>
|
|
|
|
|
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݒ<EFBFBD><EFBFBD>̃t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̃L<CC83><4C><EFBFBD>b<EFBFBD>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>ꂽ<EFBFBD><EA82BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD><74><EFBFBD>b<EFBFBD>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</p>
|
|
|
|
|
<pre>
|
|
|
|
|
FRESULT f_sync (
|
|
|
|
|
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>̂ւ̃|<7C>C<EFBFBD><43><EFBFBD>^ */</span>
|
|
|
|
|
);
|
|
|
|
|
</pre>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="para arg">
|
|
|
|
|
<h4><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|
|
|
|
<dl class="par">
|
|
|
|
|
<dt>fp</dt>
|
|
|
|
|
<dd>sync<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̃t<CC83>@<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>
|
|
|
|
|
</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#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>̊<EFBFBD><EFBFBD><EFBFBD><tt>f_close()</tt><EFBFBD>Ɠ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>͈<EFBFBD><CD88><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>J<EFBFBD><4A><EFBFBD>ꂽ<EFBFBD>܂܂ɂȂ<C982><C882>A<EFBFBD>ǂݏ<C782><DD8F><EFBFBD><EFBFBD>s<F091B18D>ł<EFBFBD><C582>܂<EFBFBD><DC82>B<EFBFBD><42><EFBFBD>M<EFBFBD><4D><EFBFBD>O<EFBFBD>ȂǁA<C781><41><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>݃<EFBFBD><DD83>[<5B>h<EFBFBD>Œ<EFBFBD><C592><EFBFBD><EFBFBD>ԃt<D483>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>J<EFBFBD><4A><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>ɂ<EFBFBD><C982><EFBFBD><EFBFBD>āA<C481><41><EFBFBD><EFBFBD><EFBFBD>I<EFBFBD>܂<EFBFBD><DC82>͋<EFBFBD><CD8B><EFBFBD><D882>̗ǂ<CC97><C782>Ƃ<EFBFBD><C682><EFBFBD><EFBFBD>ł<EFBFBD><C582>̊<CC8A><D690><EFBFBD><EFBFBD>g<EFBFBD>p<EFBFBD><70><EFBFBD>邱<EFBFBD>Ƃɂ<C682><C982><EFBFBD><EFBFBD>A<EFBFBD>s<EFBFBD>ӂ̓d<CC93><64><EFBFBD>f<EFBFBD><EFBFBD>f<EFBFBD>B<EFBFBD>A<EFBFBD>̎<EFBFBD><CC8E><EFBFBD><EFBFBD>O<EFBFBD><4F><EFBFBD>ɂ<EFBFBD><C982>莸<EFBFBD><E88EB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>f<EFBFBD>[<5B>^<5E><><EFBFBD>ŏ<EFBFBD><C58F>ɂ<EFBFBD><C982>邱<EFBFBD>Ƃ<EFBFBD><C682>ł<EFBFBD><C582>܂<EFBFBD><DC82>B<EFBFBD><42><EFBFBD>̔w<CC94>i<EFBFBD>ɂ<C982><C282>ẮA<a href="appnote.html#critical"><EFBFBD>A<EFBFBD>v<EFBFBD><EFBFBD><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>E<EFBFBD>m<EFBFBD>[<5B>g</a><EFBFBD><EFBFBD><EFBFBD>Q<EFBFBD>Ƃ<EFBFBD><EFBFBD>Ă<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B</p>
|
|
|
|
|
<p><EFBFBD><EFBFBD><EFBFBD>ۂ̂Ƃ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<tt>f_close()</tt><EFBFBD><EFBFBD><EFBFBD>ł͂<EFBFBD><EFBFBD>̊<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ăяo<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>E<EFBFBD>I<EFBFBD>u<EFBFBD>W<EFBFBD>F<EFBFBD>N<EFBFBD>g<EFBFBD><EFBFBD><F096B38C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482>邾<EFBFBD><E982BE><EFBFBD>Ȃ̂ŁA<tt>f_close()</tt><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD><EFBFBD><tt>f_sync()</tt><EFBFBD><EFBFBD><EFBFBD>u<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƃ͖<EFBFBD><EFBFBD>Ӗ<EFBFBD><EFBFBD>ł<EFBFBD><EFBFBD>B</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="para comp">
|
|
|
|
|
<h4><EFBFBD>Ή<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|
|
|
|
<p><tt>_FS_READONLY == 0</tt><EFBFBD>̂Ƃ<EFBFBD><EFBFBD>Ɏg<EFBFBD>p<EFBFBD>\<5C>ł<EFBFBD><C582>B</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="para ref">
|
|
|
|
|
<h4><EFBFBD>Q<EFBFBD><EFBFBD></h4>
|
|
|
|
|
<p><tt><a href="close.html">f_close</a></tt></p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<p class="foot"><a href="../00index_j.html"><EFBFBD>߂<EFBFBD></a></p>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|