Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

207 lines
12KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.6"/>
  7. <title>SdFat: Arduino/libraries/SdFat/StdioStream.h File Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <div id="titlearea">
  16. <table cellspacing="0" cellpadding="0">
  17. <tbody>
  18. <tr style="height: 56px;">
  19. <td style="padding-left: 0.5em;">
  20. <div id="projectname">SdFat
  21. </div>
  22. </td>
  23. </tr>
  24. </tbody>
  25. </table>
  26. </div>
  27. <!-- end header part -->
  28. <!-- Generated by Doxygen 1.8.6 -->
  29. <div id="navrow1" class="tabs">
  30. <ul class="tablist">
  31. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  32. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  33. <li><a href="annotated.html"><span>Classes</span></a></li>
  34. <li class="current"><a href="files.html"><span>Files</span></a></li>
  35. </ul>
  36. </div>
  37. <div id="navrow2" class="tabs2">
  38. <ul class="tablist">
  39. <li><a href="files.html"><span>File&#160;List</span></a></li>
  40. <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  41. </ul>
  42. </div>
  43. <div id="nav-path" class="navpath">
  44. <ul>
  45. <li class="navelem"><a class="el" href="dir_a991eec27578c865874ede3d8ec657c2.html">Arduino</a></li><li class="navelem"><a class="el" href="dir_481cc946b8a81b8d9363a4aad6201160.html">libraries</a></li><li class="navelem"><a class="el" href="dir_1281b15c327061056ab3b326e90c50cf.html">SdFat</a></li> </ul>
  46. </div>
  47. </div><!-- top -->
  48. <div class="header">
  49. <div class="summary">
  50. <a href="#nested-classes">Classes</a> &#124;
  51. <a href="#define-members">Macros</a> &#124;
  52. <a href="#var-members">Variables</a> </div>
  53. <div class="headertitle">
  54. <div class="title">StdioStream.h File Reference</div> </div>
  55. </div><!--header-->
  56. <div class="contents">
  57. <div class="textblock"><code>#include &lt;limits.h&gt;</code><br/>
  58. <code>#include &lt;Arduino.h&gt;</code><br/>
  59. <code>#include &lt;<a class="el" href="_sd_fat_8h.html">SdFat.h</a>&gt;</code><br/>
  60. <code>#include &lt;<a class="el" href="_sd_base_file_8h.html">SdBaseFile.h</a>&gt;</code><br/>
  61. <code>#include &lt;stdio.h&gt;</code><br/>
  62. </div><div class="textblock"><div class="dynheader">
  63. Include dependency graph for StdioStream.h:</div>
  64. <div class="dyncontent">
  65. <div class="center"><img src="_stdio_stream_8h__incl.png" border="0" usemap="#_arduino_2libraries_2_sd_fat_2_stdio_stream_8h" alt=""/></div>
  66. <map name="_arduino_2libraries_2_sd_fat_2_stdio_stream_8h" id="_arduino_2libraries_2_sd_fat_2_stdio_stream_8h">
  67. <area shape="rect" id="node7" href="_sd_fat_8h.html" title="SdFat class. " alt="" coords="417,96,484,123"/> <area shape="rect" id="node11" href="_sd_base_file_8h.html" title="SdBaseFile class. " alt="" coords="319,544,419,571"/> <area shape="rect" id="node9" href="_sd_file_8h.html" title="SdFile class. " alt="" coords="146,320,216,347"/> <area shape="rect" id="node35" href="_sd_stream_8h.html" title="fstream, ifstream, and ofstream classes " alt="" coords="400,245,491,272"/> <area shape="rect" id="node48" href="_arduino_stream_8h.html" title="ArduinoInStream and ArduinoOutStream classes. " alt="" coords="210,171,328,197"/> <area shape="rect" id="node53" href="_minimum_serial_8h.html" title="MinimumSerial.h" alt="" coords="353,171,471,197"/> <area shape="rect" id="node14" href="_sd_fat_config_8h.html" title="configuration definitions " alt="" coords="5,843,109,869"/> <area shape="rect" id="node18" href="_sd_volume_8h.html" title="SdVolume class. " alt="" coords="153,619,247,645"/> <area shape="rect" id="node21" href="_sd2_card_8h.html" title="Sd2Card class for V2 SD/SDHC cards. " alt="" coords="224,693,307,720"/> <area shape="rect" id="node27" href="_sd_spi_8h.html" title="SdSpi class for V2 SD/SDHC cards. " alt="" coords="121,768,188,795"/> <area shape="rect" id="node38" href="iostream_8h.html" title="iostream class " alt="" coords="297,320,380,347"/> <area shape="rect" id="node40" href="istream_8h.html" title="istream class " alt="" coords="227,395,303,421"/> <area shape="rect" id="node45" href="ostream_8h.html" title="ostream class " alt="" coords="328,395,408,421"/> <area shape="rect" id="node42" href="ios_8h.html" title="ios_base and ios classes " alt="" coords="343,469,393,496"/> <area shape="rect" id="node50" href="bufstream_8h.html" title="ibufstream and obufstream classes " alt="" coords="264,245,355,272"/> </map>
  68. </div>
  69. </div><div class="textblock"><div class="dynheader">
  70. This graph shows which files directly or indirectly include this file:</div>
  71. <div class="dyncontent">
  72. <div class="center"><img src="_stdio_stream_8h__dep__incl.png" border="0" usemap="#_arduino_2libraries_2_sd_fat_2_stdio_stream_8hdep" alt=""/></div>
  73. <map name="_arduino_2libraries_2_sd_fat_2_stdio_stream_8hdep" id="_arduino_2libraries_2_sd_fat_2_stdio_stream_8hdep">
  74. <area shape="rect" id="node3" href="_stdio_stream_8cpp.html" title="Arduino/libraries/SdFat\l/StdioStream.cpp" alt="" coords="5,97,160,138"/> </map>
  75. </div>
  76. </div><table class="memberdecls">
  77. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  78. Classes</h2></td></tr>
  79. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html">StdioStream</a></td></tr>
  80. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_stdio_stream.html" title="StdioStream implements a minimal stdio stream. ">StdioStream</a> implements a minimal stdio stream. <a href="class_stdio_stream.html#details">More...</a><br/></td></tr>
  81. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  82. </table><table class="memberdecls">
  83. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
  84. Macros</h2></td></tr>
  85. <tr class="memitem:a59adc4c82490d23754cd39c2fb99b0da"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_stdio_stream_8h.html#a59adc4c82490d23754cd39c2fb99b0da">EOF</a>&#160;&#160;&#160;(-1)</td></tr>
  86. <tr class="separator:a59adc4c82490d23754cd39c2fb99b0da"><td class="memSeparator" colspan="2">&#160;</td></tr>
  87. <tr class="memitem:a070d2ce7b6bb7e5c05602aa8c308d0c4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_stdio_stream_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>&#160;&#160;&#160;0</td></tr>
  88. <tr class="separator:a070d2ce7b6bb7e5c05602aa8c308d0c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  89. <tr class="memitem:a4c8d0b76b470ba65a43ca46a88320f39"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_stdio_stream_8h.html#a4c8d0b76b470ba65a43ca46a88320f39">SEEK_CUR</a>&#160;&#160;&#160;1</td></tr>
  90. <tr class="separator:a4c8d0b76b470ba65a43ca46a88320f39"><td class="memSeparator" colspan="2">&#160;</td></tr>
  91. <tr class="memitem:ad2a2e6c114780c3071efd24f16c7f7d8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_stdio_stream_8h.html#ad2a2e6c114780c3071efd24f16c7f7d8">SEEK_END</a>&#160;&#160;&#160;2</td></tr>
  92. <tr class="separator:ad2a2e6c114780c3071efd24f16c7f7d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  93. <tr class="memitem:a0d112bae8fd35be772185b6ec6bcbe64"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_stdio_stream_8h.html#a0d112bae8fd35be772185b6ec6bcbe64">SEEK_SET</a>&#160;&#160;&#160;0</td></tr>
  94. <tr class="separator:a0d112bae8fd35be772185b6ec6bcbe64"><td class="memSeparator" colspan="2">&#160;</td></tr>
  95. </table><table class="memberdecls">
  96. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
  97. Variables</h2></td></tr>
  98. <tr class="memitem:ad9a6150ef11e2616c1a99bc777df17d3"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_stdio_stream_8h.html#ad9a6150ef11e2616c1a99bc777df17d3">STREAM_BUF_SIZE</a> = 64</td></tr>
  99. <tr class="separator:ad9a6150ef11e2616c1a99bc777df17d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:a785dd413c0d7b05f95df82d3453ecacd"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_stdio_stream_8h.html#a785dd413c0d7b05f95df82d3453ecacd">UNGETC_BUF_SIZE</a> = 2</td></tr>
  101. <tr class="separator:a785dd413c0d7b05f95df82d3453ecacd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. </table>
  103. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  104. <div class="textblock"><p><a class="el" href="class_stdio_stream.html" title="StdioStream implements a minimal stdio stream. ">StdioStream</a> class </p>
  105. </div><h2 class="groupheader">Macro Definition Documentation</h2>
  106. <a class="anchor" id="a59adc4c82490d23754cd39c2fb99b0da"></a>
  107. <div class="memitem">
  108. <div class="memproto">
  109. <table class="memname">
  110. <tr>
  111. <td class="memname">#define EOF&#160;&#160;&#160;(-1)</td>
  112. </tr>
  113. </table>
  114. </div><div class="memdoc">
  115. <p>End-of-file return value. </p>
  116. </div>
  117. </div>
  118. <a class="anchor" id="a070d2ce7b6bb7e5c05602aa8c308d0c4"></a>
  119. <div class="memitem">
  120. <div class="memproto">
  121. <table class="memname">
  122. <tr>
  123. <td class="memname">#define NULL&#160;&#160;&#160;0</td>
  124. </tr>
  125. </table>
  126. </div><div class="memdoc">
  127. <p>Null pointer </p>
  128. </div>
  129. </div>
  130. <a class="anchor" id="a4c8d0b76b470ba65a43ca46a88320f39"></a>
  131. <div class="memitem">
  132. <div class="memproto">
  133. <table class="memname">
  134. <tr>
  135. <td class="memname">#define SEEK_CUR&#160;&#160;&#160;1</td>
  136. </tr>
  137. </table>
  138. </div><div class="memdoc">
  139. <p>Seek relative to current position. </p>
  140. </div>
  141. </div>
  142. <a class="anchor" id="ad2a2e6c114780c3071efd24f16c7f7d8"></a>
  143. <div class="memitem">
  144. <div class="memproto">
  145. <table class="memname">
  146. <tr>
  147. <td class="memname">#define SEEK_END&#160;&#160;&#160;2</td>
  148. </tr>
  149. </table>
  150. </div><div class="memdoc">
  151. <p>Seek relative to end-of-file. </p>
  152. </div>
  153. </div>
  154. <a class="anchor" id="a0d112bae8fd35be772185b6ec6bcbe64"></a>
  155. <div class="memitem">
  156. <div class="memproto">
  157. <table class="memname">
  158. <tr>
  159. <td class="memname">#define SEEK_SET&#160;&#160;&#160;0</td>
  160. </tr>
  161. </table>
  162. </div><div class="memdoc">
  163. <p>Seek relative to start-of-file. </p>
  164. </div>
  165. </div>
  166. <h2 class="groupheader">Variable Documentation</h2>
  167. <a class="anchor" id="ad9a6150ef11e2616c1a99bc777df17d3"></a>
  168. <div class="memitem">
  169. <div class="memproto">
  170. <table class="memname">
  171. <tr>
  172. <td class="memname">const uint8_t STREAM_BUF_SIZE = 64</td>
  173. </tr>
  174. </table>
  175. </div><div class="memdoc">
  176. <p>Total size of stream buffer. The entire buffer is used for output. During input UNGETC_BUF_SIZE of this space is reserved for ungetc. </p>
  177. </div>
  178. </div>
  179. <a class="anchor" id="a785dd413c0d7b05f95df82d3453ecacd"></a>
  180. <div class="memitem">
  181. <div class="memproto">
  182. <table class="memname">
  183. <tr>
  184. <td class="memname">const uint8_t UNGETC_BUF_SIZE = 2</td>
  185. </tr>
  186. </table>
  187. </div><div class="memdoc">
  188. <p>Amount of buffer allocated for ungetc during input. </p>
  189. </div>
  190. </div>
  191. </div><!-- contents -->
  192. <!-- start footer part -->
  193. <hr class="footer"/><address class="footer"><small>
  194. Generated on Sun Aug 24 2014 09:37:38 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  195. <img class="footer" src="doxygen.png" alt="doxygen"/>
  196. </a> 1.8.6
  197. </small></address>
  198. </body>
  199. </html>