66 lines
2.6 KiB
HTML
66 lines
2.6 KiB
HTML
|
<!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/gets.html">
|
|||
|
<link rel="stylesheet" href="../css_j.css" type="text/css" media="screen" title="ELM Default">
|
|||
|
<title>FatFs - f_gets</title>
|
|||
|
</head>
|
|||
|
|
|||
|
<body>
|
|||
|
|
|||
|
<div class="para func">
|
|||
|
<h2>f_gets</h2>
|
|||
|
<p><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>當<EFBFBD><E795B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǂݏo<DD8F><6F><EFBFBD>܂<EFBFBD><DC82>B</p>
|
|||
|
<pre>
|
|||
|
TCHAR* f_gets (
|
|||
|
TCHAR* <span class="arg">buff</span>, <span class="c">/* [OUT] <20>o<EFBFBD>b<EFBFBD>t<EFBFBD>@ */</span>
|
|||
|
int <span class="arg">len</span>, <span class="c">/* [IN] <20>o<EFBFBD>b<EFBFBD>t<EFBFBD>@<40>̃T<CC83>C<EFBFBD>Y */</span>
|
|||
|
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 */</span>
|
|||
|
);
|
|||
|
</pre>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="para arg">
|
|||
|
<h4><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|||
|
<dl class="par">
|
|||
|
<dt>buff</dt>
|
|||
|
<dd><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǂݏo<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>len</dt>
|
|||
|
<dd><EFBFBD>o<EFBFBD>b<EFBFBD>t<EFBFBD>@<40>̃T<CC83>C<EFBFBD>Y<EFBFBD><59><EFBFBD>v<EFBFBD>f<EFBFBD><66><EFBFBD>Ŏw<C58E>肵<EFBFBD>܂<EFBFBD><DC82>B</dd>
|
|||
|
<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>
|
|||
|
</dl>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="para ret">
|
|||
|
<h4><EFBFBD>߂<EFBFBD><EFBFBD>l</h4>
|
|||
|
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><tt class="arg">buff</tt><EFBFBD><EFBFBD><EFBFBD>Ԃ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><EFBFBD>B</p>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="para desc">
|
|||
|
<h4><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|||
|
<p><EFBFBD><EFBFBD><EFBFBD>̊<EFBFBD><EFBFBD><EFBFBD><a href="read.html"><tt>f_read()</tt></a><EFBFBD>̃<EFBFBD><EFBFBD>b<EFBFBD>p<EFBFBD>[<5B><EFBFBD><D690>ł<EFBFBD><C582>B<EFBFBD>ǂݏo<DD8F><6F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>́A<CD81>ŏ<EFBFBD><C58F><EFBFBD><tt>'\n'</tt><EFBFBD><EFBFBD><EFBFBD>ǂݍ<EFBFBD><EFBFBD>ނ<EFBFBD><EFBFBD>A<EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>I<EFBFBD>[<5B>ɒB<C992><42><EFBFBD>邩<EFBFBD>A<tt>len - 1</tt><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǂݏo<EFBFBD><EFBFBD><EFBFBD>܂ő<EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><EFBFBD>B<EFBFBD>ǂݍ<EFBFBD><EFBFBD>܂ꂽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̏I<EFBFBD>[<5B>ɂ<EFBFBD><tt>'\0'</tt><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><EFBFBD>B<EFBFBD><EFBFBD><EFBFBD>Ƀt<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>I<EFBFBD>[<5B><>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǂݍ<C782><DD8D>܂<EFBFBD><DC82>Ȃ<EFBFBD><C882><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƃ<EFBFBD><C682>A<EFBFBD>܂<EFBFBD><DC82>͉<EFBFBD><CD89>炩<EFBFBD>̃G<CC83><47><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƃ<EFBFBD><C682>͊<CD8A><D690>͎<EFBFBD><CD8E>s<EFBFBD><73><EFBFBD>k<EFBFBD><6B><EFBFBD>E<EFBFBD>|<7C>C<EFBFBD><43><EFBFBD>^<5E><><EFBFBD>Ԃ<EFBFBD><D482>܂<EFBFBD><DC82>B<EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>I<EFBFBD>[<5B><><EFBFBD>G<EFBFBD><47><EFBFBD>[<5B><><EFBFBD><EFBFBD><tt>f_eof()</tt>,<tt>f_error()</tt><EFBFBD>}<7D>N<EFBFBD><4E><EFBFBD>Œ<EFBFBD><C592>ׂ<EFBFBD><D782><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B</p>
|
|||
|
<p>Unicode API<50>\<5C><>(<tt>_LFN_UNICODE == 1</tt>)<29><><EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>Ƃ<EFBFBD><C682>́A<tt class="arg">buff</tt><EFBFBD><EFBFBD>UTF-16<31><36><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɂȂ<C982><C882>܂<EFBFBD><DC82><EFBFBD><EFBFBD>A<EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>̃G<CC83><47><EFBFBD>R<EFBFBD>[<5B>h<EFBFBD>́A<tt>_STRF_ENCODE</tt><EFBFBD>I<EFBFBD>v<EFBFBD>V<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>őI<EFBFBD><EFBFBD><EFBFBD>ł<EFBFBD><EFBFBD>܂<EFBFBD><EFBFBD>B<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȊO<EFBFBD>̎<EFBFBD><EFBFBD>͖<EFBFBD><EFBFBD>ϊ<EFBFBD>(1<>o<EFBFBD>C<EFBFBD>g/1<><31><EFBFBD><EFBFBD>)<29>œǂݏo<DD8F><6F><EFBFBD>܂<EFBFBD><DC82>B</p>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="para comp">
|
|||
|
<h4><EFBFBD>Ή<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|||
|
<p><tt>_USE_STRFUNC</tt><EFBFBD><EFBFBD>1<EFBFBD>܂<EFBFBD><EFBFBD><EFBFBD>2<EFBFBD>̂Ƃ<EFBFBD><EFBFBD>g<EFBFBD>p<EFBFBD>\<5C>ł<EFBFBD><C582>B2<42>̂Ƃ<CC82><C682>́A<CD81>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>Ɋ܂܂<DC82><DC82><EFBFBD><tt>'\r'</tt><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>菜<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ăo<EFBFBD>b<EFBFBD>t<EFBFBD>@<40>ɓǂݍ<C782><DD8D>܂<EFBFBD><DC82>܂<EFBFBD><DC82>B</p>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="para ref">
|
|||
|
<h4><EFBFBD>Q<EFBFBD><EFBFBD></h4>
|
|||
|
<p><tt><a href="open.html">f_open</a>, <a href="read.html">f_read</a>, <a href="putc.html">f_putc</a>, <a href="puts.html">f_puts</a>, <a href="printf.html">f_printf</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>
|