<!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="stylesheet" href="../css_j.css" type="text/css" media="screen" title="ELM Default"> | |
<title>FatFs - f_printf</title> | |
</head> | |
<body> | |
<div class="para"> | |
<h2>f_printf</h2> | |
<p>t@CÉ®»¶ñð«ÝÜ·B</p> | |
<pre> | |
int f_printf ( | |
FIL* <em>FileObject</em>, /* t@CEIuWFNg */ | |
const char* <em>Foramt</em>, /* ®§ä¶ñ */ | |
... | |
); | |
</pre> | |
</div> | |
<div class="para"> | |
<h4>ø</h4> | |
<dl class="par"> | |
<dt>FileObject</dt> | |
<dd>t@CEIuWFNg\¢ÌÖÌ|C^ðwèµÜ·B</dd> | |
<dt>Format</dt> | |
<dd>'\0'ÅIí鮧ä¶ñðw·|C^ðwèµÜ·B'\0'Í«ÜêܹñB</dd> | |
<dt>...</dt> | |
<dd>IvVÌøB</dd> | |
</dl> | |
</div> | |
<div class="para"> | |
<h4>ßèl</h4> | |
<p>¶ñª³íÉ«ÜêéÆ«ñ¾¶ªÔ³êÜ·BfBXNªtܽͻ̼G[Éæè³íÉ«ÜêÈ©Á½Æ«Í<tt>EOF</tt>(-1)ªÔ³êÜ·B</p> | |
</div> | |
<div class="para"> | |
<h4>ðà</h4> | |
<p>±ÌÖÍ<a href="putc.html">f_putc()</a>¨æÑ<a href="puts.html">f_puts()</a>Ìbp[ÖÅ·B®§ä@\ÍTuZbgÆÈÁÄ¢ÄA®§ä¶Íɦ·à̪gpÂ\Å·B</p> | |
<ul> | |
<li>^Cv: <tt>c s d u X</tt></li> | |
<li>¸xwè: <tt>l</tt></li> | |
<li>tO: <tt>0</tt></li> | |
</ul> | |
</div> | |
<div class="para"> | |
<h4>Îîñ</h4> | |
<p><tt>_FS_READONLY == 0</tt>ÅAÂ<tt>_USE_STRFUNC</tt>ª 1Ü½Í 2ÌÆ«gpÂ\ÉÈèÜ·B2ÌÍAoÍÉÜÜêé<tt>'\n'</tt>ª<tt>"\r\n"</tt>ÉWJ³êÄt@CÉ«ÜêÜ·B</p> | |
</div> | |
<div class="para"> | |
<h4>gpá</h4> | |
<pre> | |
f_printf(&fil, "%6d", -200); // " -200" | |
f_printf(&fil, "%02u", 5); // "05" | |
f_printf(&fil, "%ld", 12345678L); // "12345678" | |
f_printf(&fil, "%08lX", 1194684UL); // "00123ABC" | |
f_printf(&fil, "%s", "String"); // "String" | |
f_printf(&fil, "%c", 'a'); // "a" | |
</pre> | |
</div> | |
<div class="para"> | |
<h4>QÆ</h4> | |
<p><tt><a href="open.html">f_open</a>, <a href="putc.html">f_putc</a>, <a href="puts.html">f_puts</a>, <a href="gets.html">f_gets</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">ßé</a></p> | |
</body> | |
</html> |