You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1779 lines
104KB

  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.10"/>
  7. <title>SdFat: StdioStream Class 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="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/searchdata.js"></script>
  13. <script type="text/javascript" src="search/search.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function() { init_search(); });
  16. </script>
  17. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  21. <div id="titlearea">
  22. <table cellspacing="0" cellpadding="0">
  23. <tbody>
  24. <tr style="height: 56px;">
  25. <td id="projectalign" style="padding-left: 0.5em;">
  26. <div id="projectname">SdFat
  27. </div>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generated by Doxygen 1.8.10 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  41. <li><a href="modules.html"><span>Modules</span></a></li>
  42. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  43. <li><a href="files.html"><span>Files</span></a></li>
  44. <li>
  45. <div id="MSearchBox" class="MSearchBoxInactive">
  46. <span class="left">
  47. <img id="MSearchSelect" src="search/mag_sel.png"
  48. onmouseover="return searchBox.OnSearchSelectShow()"
  49. onmouseout="return searchBox.OnSearchSelectHide()"
  50. alt=""/>
  51. <input type="text" id="MSearchField" value="Search" accesskey="S"
  52. onfocus="searchBox.OnSearchFieldFocus(true)"
  53. onblur="searchBox.OnSearchFieldFocus(false)"
  54. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  55. </span><span class="right">
  56. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  57. </span>
  58. </div>
  59. </li>
  60. </ul>
  61. </div>
  62. <div id="navrow2" class="tabs2">
  63. <ul class="tablist">
  64. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  65. <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
  66. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  67. </ul>
  68. </div>
  69. <!-- window showing the filter options -->
  70. <div id="MSearchSelectWindow"
  71. onmouseover="return searchBox.OnSearchSelectShow()"
  72. onmouseout="return searchBox.OnSearchSelectHide()"
  73. onkeydown="return searchBox.OnSearchSelectKey(event)">
  74. </div>
  75. <!-- iframe showing the search results (closed by default) -->
  76. <div id="MSearchResultsWindow">
  77. <iframe src="javascript:void(0)" frameborder="0"
  78. name="MSearchResults" id="MSearchResults">
  79. </iframe>
  80. </div>
  81. </div><!-- top -->
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#pub-methods">Public Member Functions</a> &#124;
  85. <a href="#pri-methods">Private Member Functions</a> &#124;
  86. <a href="#pri-static-methods">Static Private Member Functions</a> &#124;
  87. <a href="class_stdio_stream-members.html">List of all members</a> </div>
  88. <div class="headertitle">
  89. <div class="title">StdioStream Class Reference</div> </div>
  90. </div><!--header-->
  91. <div class="contents">
  92. <p><a class="el" href="class_stdio_stream.html" title="StdioStream implements a minimal stdio stream. ">StdioStream</a> implements a minimal stdio stream.
  93. <a href="class_stdio_stream.html#details">More...</a></p>
  94. <p><code>#include &lt;StdioStream.h&gt;</code></p>
  95. <div class="dynheader">
  96. Inheritance diagram for StdioStream:</div>
  97. <div class="dyncontent">
  98. <div class="center"><img src="class_stdio_stream__inherit__graph.png" border="0" usemap="#_stdio_stream_inherit__map" alt="Inheritance graph"/></div>
  99. <map name="_stdio_stream_inherit__map" id="_stdio_stream_inherit__map">
  100. <area shape="rect" id="node2" href="class_fat_file.html" title="Basic file class. " alt="" coords="21,5,84,32"/>
  101. </map>
  102. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  103. <div class="dynheader">
  104. Collaboration diagram for StdioStream:</div>
  105. <div class="dyncontent">
  106. <div class="center"><img src="class_stdio_stream__coll__graph.png" border="0" usemap="#_stdio_stream_coll__map" alt="Collaboration graph"/></div>
  107. <map name="_stdio_stream_coll__map" id="_stdio_stream_coll__map">
  108. <area shape="rect" id="node2" href="class_fat_file.html" title="Basic file class. " alt="" coords="21,5,84,32"/>
  109. </map>
  110. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  111. <table class="memberdecls">
  112. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  113. Public Member Functions</h2></td></tr>
  114. <tr class="memitem:aa737e5680fc2808a03a603ea8559d82b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#aa737e5680fc2808a03a603ea8559d82b">clearerr</a> ()</td></tr>
  115. <tr class="separator:aa737e5680fc2808a03a603ea8559d82b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:a4ddd4658d49182013d2fa2a181e96c5a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a4ddd4658d49182013d2fa2a181e96c5a">fclose</a> ()</td></tr>
  117. <tr class="separator:a4ddd4658d49182013d2fa2a181e96c5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:acb38c3211feedbf2206eb1d9a3a9d24f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#acb38c3211feedbf2206eb1d9a3a9d24f">feof</a> ()</td></tr>
  119. <tr class="separator:acb38c3211feedbf2206eb1d9a3a9d24f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:afd64cec6440b923660b444f6d5f0586e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#afd64cec6440b923660b444f6d5f0586e">ferror</a> ()</td></tr>
  121. <tr class="separator:afd64cec6440b923660b444f6d5f0586e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:a7ce32ec7ea3f2fd8ea42b9633890f1c0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a7ce32ec7ea3f2fd8ea42b9633890f1c0">fflush</a> ()</td></tr>
  123. <tr class="separator:a7ce32ec7ea3f2fd8ea42b9633890f1c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:a160bd2828cb7e7370cffe1046eff8899"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a160bd2828cb7e7370cffe1046eff8899">fgetc</a> ()</td></tr>
  125. <tr class="separator:a160bd2828cb7e7370cffe1046eff8899"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:aa240c1021a1aad1cc57f63a483541dc7"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#aa240c1021a1aad1cc57f63a483541dc7">fgets</a> (char *str, size_t num, size_t *len=0)</td></tr>
  127. <tr class="separator:aa240c1021a1aad1cc57f63a483541dc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:a4ffc37225fb6deed98905aa71d1f9c4b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a4ffc37225fb6deed98905aa71d1f9c4b">fopen</a> (const char *path, const char *mode)</td></tr>
  129. <tr class="separator:a4ffc37225fb6deed98905aa71d1f9c4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:a9f23cfa6b112a5da6ae08340af23c57b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a9f23cfa6b112a5da6ae08340af23c57b">fputc</a> (int c)</td></tr>
  131. <tr class="separator:a9f23cfa6b112a5da6ae08340af23c57b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:a6adea52f55ef7d97cdb54e9e11fc2daa"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a6adea52f55ef7d97cdb54e9e11fc2daa">fputs</a> (const char *str)</td></tr>
  133. <tr class="separator:a6adea52f55ef7d97cdb54e9e11fc2daa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:a2d363b02abcef82b25ff025d50375bce"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a2d363b02abcef82b25ff025d50375bce">fread</a> (void *ptr, size_t size, size_t count)</td></tr>
  135. <tr class="separator:a2d363b02abcef82b25ff025d50375bce"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:a71584fd5c5cda3c31ce6cdbcc56f104d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a71584fd5c5cda3c31ce6cdbcc56f104d">fseek</a> (int32_t offset, int origin)</td></tr>
  137. <tr class="separator:a71584fd5c5cda3c31ce6cdbcc56f104d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:a809639fc5fb4fa5b6789dc121659f386"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a809639fc5fb4fa5b6789dc121659f386">ftell</a> ()</td></tr>
  139. <tr class="separator:a809639fc5fb4fa5b6789dc121659f386"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <tr class="memitem:ad79465afb52579cbc801f4585c3f9c25"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#ad79465afb52579cbc801f4585c3f9c25">fwrite</a> (const void *ptr, size_t size, size_t count)</td></tr>
  141. <tr class="separator:ad79465afb52579cbc801f4585c3f9c25"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <tr class="memitem:a28ba31e7b526607744bfa41844ffce31"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a28ba31e7b526607744bfa41844ffce31">getc</a> ()</td></tr>
  143. <tr class="separator:a28ba31e7b526607744bfa41844ffce31"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:ad3f6ee8e8ca5dcf6dabfd88199b172e2"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#ad3f6ee8e8ca5dcf6dabfd88199b172e2">print</a> (char c)</td></tr>
  145. <tr class="separator:ad3f6ee8e8ca5dcf6dabfd88199b172e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:a1158ea5f9bf041f21b1733b7811c9bb9"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a1158ea5f9bf041f21b1733b7811c9bb9">print</a> (const char *str)</td></tr>
  147. <tr class="separator:a1158ea5f9bf041f21b1733b7811c9bb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:aac4d7b3548d03b8fd70adf12c7ee315c"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#aac4d7b3548d03b8fd70adf12c7ee315c">print</a> (const __FlashStringHelper *str)</td></tr>
  149. <tr class="separator:aac4d7b3548d03b8fd70adf12c7ee315c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:a26f5b98560b6771225005b073166108b"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a26f5b98560b6771225005b073166108b">print</a> (double val, uint8_t prec=2)</td></tr>
  151. <tr class="separator:a26f5b98560b6771225005b073166108b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <tr class="memitem:a06b6eb9f0a7000fdcc73cd6af8d40560"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a06b6eb9f0a7000fdcc73cd6af8d40560">print</a> (float val, uint8_t prec=2)</td></tr>
  153. <tr class="separator:a06b6eb9f0a7000fdcc73cd6af8d40560"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. <tr class="memitem:a7129f85c7c5f16867f467731ef84dee9"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  155. <tr class="memitem:a7129f85c7c5f16867f467731ef84dee9"><td class="memTemplItemLeft" align="right" valign="top">size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a7129f85c7c5f16867f467731ef84dee9">print</a> (T val)</td></tr>
  156. <tr class="separator:a7129f85c7c5f16867f467731ef84dee9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. <tr class="memitem:ac0a907feb1e4b7e00de99857b4c0a470"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#ac0a907feb1e4b7e00de99857b4c0a470">printDec</a> (char n)</td></tr>
  158. <tr class="separator:ac0a907feb1e4b7e00de99857b4c0a470"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. <tr class="memitem:a2707ea97f6113c226781469f4f39ff62"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a2707ea97f6113c226781469f4f39ff62">printDec</a> (signed char n)</td></tr>
  160. <tr class="separator:a2707ea97f6113c226781469f4f39ff62"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. <tr class="memitem:a6e6ac78caa6259a4c4934707bf497a2b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a6e6ac78caa6259a4c4934707bf497a2b">printDec</a> (unsigned char n)</td></tr>
  162. <tr class="separator:a6e6ac78caa6259a4c4934707bf497a2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  163. <tr class="memitem:a218af88db35f38babf01d6e0a9cdceeb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a218af88db35f38babf01d6e0a9cdceeb">printDec</a> (int16_t n)</td></tr>
  164. <tr class="separator:a218af88db35f38babf01d6e0a9cdceeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  165. <tr class="memitem:a90b2999af94a3578fff7579c2acf8e35"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a90b2999af94a3578fff7579c2acf8e35">printDec</a> (uint16_t n)</td></tr>
  166. <tr class="separator:a90b2999af94a3578fff7579c2acf8e35"><td class="memSeparator" colspan="2">&#160;</td></tr>
  167. <tr class="memitem:ad4591f1234b57f63c1acf0f3392099ac"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#ad4591f1234b57f63c1acf0f3392099ac">printDec</a> (int32_t n)</td></tr>
  168. <tr class="separator:ad4591f1234b57f63c1acf0f3392099ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
  169. <tr class="memitem:a8b6c2c80342abe45e6f564e9bd5bb7ea"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a8b6c2c80342abe45e6f564e9bd5bb7ea">printDec</a> (uint32_t n)</td></tr>
  170. <tr class="separator:a8b6c2c80342abe45e6f564e9bd5bb7ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
  171. <tr class="memitem:aaa8921947d4dbbae840d285cb633e8aa"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#aaa8921947d4dbbae840d285cb633e8aa">printDec</a> (double value, uint8_t prec)</td></tr>
  172. <tr class="separator:aaa8921947d4dbbae840d285cb633e8aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  173. <tr class="memitem:a6a09284b1c6d0769c27916a2e131e749"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a6a09284b1c6d0769c27916a2e131e749">printDec</a> (float value, uint8_t prec)</td></tr>
  174. <tr class="separator:a6a09284b1c6d0769c27916a2e131e749"><td class="memSeparator" colspan="2">&#160;</td></tr>
  175. <tr class="memitem:a4988592ada39c4b4c603b061f84d183f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a4988592ada39c4b4c603b061f84d183f">printField</a> (double value, char term, uint8_t prec=2)</td></tr>
  176. <tr class="separator:a4988592ada39c4b4c603b061f84d183f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  177. <tr class="memitem:a3b90b2317cc391f94784a847f5313c08"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a3b90b2317cc391f94784a847f5313c08">printField</a> (float value, char term, uint8_t prec=2)</td></tr>
  178. <tr class="separator:a3b90b2317cc391f94784a847f5313c08"><td class="memSeparator" colspan="2">&#160;</td></tr>
  179. <tr class="memitem:a02c2ad1a2e71e82d238b8386cf3e6c41"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  180. <tr class="memitem:a02c2ad1a2e71e82d238b8386cf3e6c41"><td class="memTemplItemLeft" align="right" valign="top">int&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a02c2ad1a2e71e82d238b8386cf3e6c41">printField</a> (T value, char term)</td></tr>
  181. <tr class="separator:a02c2ad1a2e71e82d238b8386cf3e6c41"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. <tr class="memitem:add39b2b4ec3daa7c8922e96ce5d368bc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#add39b2b4ec3daa7c8922e96ce5d368bc">printHex</a> (uint32_t n)</td></tr>
  183. <tr class="separator:add39b2b4ec3daa7c8922e96ce5d368bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  184. <tr class="memitem:aec6ebea511489b0ef6b61d9132d93af9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#aec6ebea511489b0ef6b61d9132d93af9">printHexln</a> (uint32_t n)</td></tr>
  185. <tr class="separator:aec6ebea511489b0ef6b61d9132d93af9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  186. <tr class="memitem:ad0cd3acc05a91456f505752377bd405a"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#ad0cd3acc05a91456f505752377bd405a">println</a> ()</td></tr>
  187. <tr class="separator:ad0cd3acc05a91456f505752377bd405a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  188. <tr class="memitem:a3793dd66cf347a1ca0b7b167e948cce9"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a3793dd66cf347a1ca0b7b167e948cce9">println</a> (double val, uint8_t prec=2)</td></tr>
  189. <tr class="separator:a3793dd66cf347a1ca0b7b167e948cce9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  190. <tr class="memitem:aac250d041a7844c8db1cbd2d97ecfdaa"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#aac250d041a7844c8db1cbd2d97ecfdaa">println</a> (float val, uint8_t prec=2)</td></tr>
  191. <tr class="separator:aac250d041a7844c8db1cbd2d97ecfdaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  192. <tr class="memitem:a3b14532768d07e6ed89c762d04792c12"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  193. <tr class="memitem:a3b14532768d07e6ed89c762d04792c12"><td class="memTemplItemLeft" align="right" valign="top">size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a3b14532768d07e6ed89c762d04792c12">println</a> (T val)</td></tr>
  194. <tr class="separator:a3b14532768d07e6ed89c762d04792c12"><td class="memSeparator" colspan="2">&#160;</td></tr>
  195. <tr class="memitem:adf9e552212aad6fc2284da0ee62d04dc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#adf9e552212aad6fc2284da0ee62d04dc">putc</a> (int c)</td></tr>
  196. <tr class="separator:adf9e552212aad6fc2284da0ee62d04dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  197. <tr class="memitem:a09ccc4b6cabc3502c1052e85d94e84ef"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a09ccc4b6cabc3502c1052e85d94e84ef">putCRLF</a> ()</td></tr>
  198. <tr class="separator:a09ccc4b6cabc3502c1052e85d94e84ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
  199. <tr class="memitem:ad985866675193d2ee1dde9e27b0d08da"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#ad985866675193d2ee1dde9e27b0d08da">rewind</a> ()</td></tr>
  200. <tr class="separator:ad985866675193d2ee1dde9e27b0d08da"><td class="memSeparator" colspan="2">&#160;</td></tr>
  201. <tr class="memitem:a96b2c027e76bfca6d6835c9ae1be2ad2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#a96b2c027e76bfca6d6835c9ae1be2ad2">StdioStream</a> ()</td></tr>
  202. <tr class="separator:a96b2c027e76bfca6d6835c9ae1be2ad2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  203. <tr class="memitem:ac00e0dd906c2e857ece53794c6c92786"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html#ac00e0dd906c2e857ece53794c6c92786">ungetc</a> (int c)</td></tr>
  204. <tr class="separator:ac00e0dd906c2e857ece53794c6c92786"><td class="memSeparator" colspan="2">&#160;</td></tr>
  205. </table><table class="memberdecls">
  206. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
  207. Private Member Functions</h2></td></tr>
  208. <tr class="memitem:ac1fa779d98db7ffdb96f8019ab0060d6"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ac1fa779d98db7ffdb96f8019ab0060d6">available</a> ()</td></tr>
  209. <tr class="separator:ac1fa779d98db7ffdb96f8019ab0060d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  210. <tr class="memitem:a052e2c15a39b322a5307b693b8835b22"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a052e2c15a39b322a5307b693b8835b22">clearError</a> ()</td></tr>
  211. <tr class="separator:a052e2c15a39b322a5307b693b8835b22"><td class="memSeparator" colspan="2">&#160;</td></tr>
  212. <tr class="memitem:aeca2a2eff91e6aa55fe1b0e3860c9a05"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aeca2a2eff91e6aa55fe1b0e3860c9a05">clearWriteError</a> ()</td></tr>
  213. <tr class="separator:aeca2a2eff91e6aa55fe1b0e3860c9a05"><td class="memSeparator" colspan="2">&#160;</td></tr>
  214. <tr class="memitem:afd16af325e0642e4bff6430b7d8bb18b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#afd16af325e0642e4bff6430b7d8bb18b">close</a> ()</td></tr>
  215. <tr class="separator:afd16af325e0642e4bff6430b7d8bb18b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  216. <tr class="memitem:aa367708bcc8bc0e0c45c0c2a812c65da"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aa367708bcc8bc0e0c45c0c2a812c65da">contiguousRange</a> (uint32_t *bgnBlock, uint32_t *endBlock)</td></tr>
  217. <tr class="separator:aa367708bcc8bc0e0c45c0c2a812c65da"><td class="memSeparator" colspan="2">&#160;</td></tr>
  218. <tr class="memitem:a0afc2a1cffa238d1cb2049bfa2d8d199"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a0afc2a1cffa238d1cb2049bfa2d8d199">createContiguous</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dirFile, const char *path, uint32_t size)</td></tr>
  219. <tr class="separator:a0afc2a1cffa238d1cb2049bfa2d8d199"><td class="memSeparator" colspan="2">&#160;</td></tr>
  220. <tr class="memitem:a4c03e2f6729526786e6ab4a623e0339b"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a4c03e2f6729526786e6ab4a623e0339b">curCluster</a> () const </td></tr>
  221. <tr class="separator:a4c03e2f6729526786e6ab4a623e0339b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  222. <tr class="memitem:a20c55b134bfd1d287a00bf64eba9332e"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a20c55b134bfd1d287a00bf64eba9332e">curPosition</a> () const </td></tr>
  223. <tr class="separator:a20c55b134bfd1d287a00bf64eba9332e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  224. <tr class="memitem:a6858d18c807411a071fd6d1b39d50087"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a6858d18c807411a071fd6d1b39d50087">dirEntry</a> (<a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *dir)</td></tr>
  225. <tr class="separator:a6858d18c807411a071fd6d1b39d50087"><td class="memSeparator" colspan="2">&#160;</td></tr>
  226. <tr class="memitem:ae5ec24d4a94d3780384d3f2b731c7eb9"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ae5ec24d4a94d3780384d3f2b731c7eb9">dirIndex</a> ()</td></tr>
  227. <tr class="separator:ae5ec24d4a94d3780384d3f2b731c7eb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  228. <tr class="memitem:ae2ed15f05c9ccbce355e7a8d3ce8382d"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ae2ed15f05c9ccbce355e7a8d3ce8382d">dirSize</a> ()</td></tr>
  229. <tr class="separator:ae2ed15f05c9ccbce355e7a8d3ce8382d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  230. <tr class="memitem:a4f01d27954ae49aeb6888ac7302f55d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a4f01d27954ae49aeb6888ac7302f55d9">dmpFile</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr, uint32_t pos, size_t n)</td></tr>
  231. <tr class="separator:a4f01d27954ae49aeb6888ac7302f55d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  232. <tr class="memitem:a50242f98dea0d4488ce4039a279f2a57"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a50242f98dea0d4488ce4039a279f2a57">exists</a> (const char *path)</td></tr>
  233. <tr class="separator:a50242f98dea0d4488ce4039a279f2a57"><td class="memSeparator" colspan="2">&#160;</td></tr>
  234. <tr class="memitem:a31ef26b3ee37cf5f5f4c6024c0ddab69"><td class="memItemLeft" align="right" valign="top">int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a31ef26b3ee37cf5f5f4c6024c0ddab69">fgets</a> (char *str, int16_t num, char *delim=0)</td></tr>
  235. <tr class="separator:a31ef26b3ee37cf5f5f4c6024c0ddab69"><td class="memSeparator" colspan="2">&#160;</td></tr>
  236. <tr class="memitem:a7e043dfb89d268bfd620bbbadacf1002"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a7e043dfb89d268bfd620bbbadacf1002">fileAttr</a> () const </td></tr>
  237. <tr class="separator:a7e043dfb89d268bfd620bbbadacf1002"><td class="memSeparator" colspan="2">&#160;</td></tr>
  238. <tr class="memitem:a02fc3b3ca36b4745f695f3de8c8ec36d"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a02fc3b3ca36b4745f695f3de8c8ec36d">fileSize</a> () const </td></tr>
  239. <tr class="separator:a02fc3b3ca36b4745f695f3de8c8ec36d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  240. <tr class="memitem:a1057bc23b92a074539f661e896e79a09"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a1057bc23b92a074539f661e896e79a09">firstCluster</a> () const </td></tr>
  241. <tr class="separator:a1057bc23b92a074539f661e896e79a09"><td class="memSeparator" colspan="2">&#160;</td></tr>
  242. <tr class="memitem:ad0dbbd083180f44c7a3ce7124d4ce19c"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ad0dbbd083180f44c7a3ce7124d4ce19c">getError</a> ()</td></tr>
  243. <tr class="separator:ad0dbbd083180f44c7a3ce7124d4ce19c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  244. <tr class="memitem:aafa565e286440aab612cdb430fc01da5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aafa565e286440aab612cdb430fc01da5">getName</a> (char *name, size_t size)</td></tr>
  245. <tr class="separator:aafa565e286440aab612cdb430fc01da5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  246. <tr class="memitem:aaa4f9886887947815a61eaf015996932"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aaa4f9886887947815a61eaf015996932">getpos</a> (<a class="el" href="struct_fat_pos__t.html">FatPos_t</a> *pos)</td></tr>
  247. <tr class="separator:aaa4f9886887947815a61eaf015996932"><td class="memSeparator" colspan="2">&#160;</td></tr>
  248. <tr class="memitem:aba30e92a66f8e0d2f815c85662772a58"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aba30e92a66f8e0d2f815c85662772a58">getSFN</a> (char *name)</td></tr>
  249. <tr class="separator:aba30e92a66f8e0d2f815c85662772a58"><td class="memSeparator" colspan="2">&#160;</td></tr>
  250. <tr class="memitem:a8062c0d3a118e8d77d0310418703d5f5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a8062c0d3a118e8d77d0310418703d5f5">getWriteError</a> ()</td></tr>
  251. <tr class="separator:a8062c0d3a118e8d77d0310418703d5f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  252. <tr class="memitem:aef41d65e0f1ce753d18cc9ed691f7de4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aef41d65e0f1ce753d18cc9ed691f7de4">isDir</a> () const </td></tr>
  253. <tr class="separator:aef41d65e0f1ce753d18cc9ed691f7de4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  254. <tr class="memitem:afcf6270ea8d4a3a5f8e89523bc684e22"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#afcf6270ea8d4a3a5f8e89523bc684e22">isFile</a> () const </td></tr>
  255. <tr class="separator:afcf6270ea8d4a3a5f8e89523bc684e22"><td class="memSeparator" colspan="2">&#160;</td></tr>
  256. <tr class="memitem:a7eefe7408f34b6326f0c6e78af7eb05f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a7eefe7408f34b6326f0c6e78af7eb05f">isHidden</a> () const </td></tr>
  257. <tr class="separator:a7eefe7408f34b6326f0c6e78af7eb05f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  258. <tr class="memitem:aed36d17f8fde597b6ed9446faec1f7e3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aed36d17f8fde597b6ed9446faec1f7e3">isLFN</a> () const </td></tr>
  259. <tr class="separator:aed36d17f8fde597b6ed9446faec1f7e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  260. <tr class="memitem:a4c8a07b081f04aa25839c6f56c739bdc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a4c8a07b081f04aa25839c6f56c739bdc">isOpen</a> () const </td></tr>
  261. <tr class="separator:a4c8a07b081f04aa25839c6f56c739bdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  262. <tr class="memitem:a6872d3acb1e70f81c9c2be2495977583"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a6872d3acb1e70f81c9c2be2495977583">isReadOnly</a> () const </td></tr>
  263. <tr class="separator:a6872d3acb1e70f81c9c2be2495977583"><td class="memSeparator" colspan="2">&#160;</td></tr>
  264. <tr class="memitem:aa4a206803a4bf8243be20244c1aef4d2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aa4a206803a4bf8243be20244c1aef4d2">isRoot</a> () const </td></tr>
  265. <tr class="separator:aa4a206803a4bf8243be20244c1aef4d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  266. <tr class="memitem:a1449b294e3a838396c62e47674ca8cf0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a1449b294e3a838396c62e47674ca8cf0">isRoot32</a> () const </td></tr>
  267. <tr class="separator:a1449b294e3a838396c62e47674ca8cf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  268. <tr class="memitem:a8215bd4b21e11ec83fa88ef226ceb06f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a8215bd4b21e11ec83fa88ef226ceb06f">isRootFixed</a> () const </td></tr>
  269. <tr class="separator:a8215bd4b21e11ec83fa88ef226ceb06f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  270. <tr class="memitem:a95b503b17442c2b364a2f53de1b2aeba"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a95b503b17442c2b364a2f53de1b2aeba">isSubDir</a> () const </td></tr>
  271. <tr class="separator:a95b503b17442c2b364a2f53de1b2aeba"><td class="memSeparator" colspan="2">&#160;</td></tr>
  272. <tr class="memitem:add932e13e5bf32ad467af6ec34824e3c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#add932e13e5bf32ad467af6ec34824e3c">isSystem</a> () const </td></tr>
  273. <tr class="separator:add932e13e5bf32ad467af6ec34824e3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  274. <tr class="memitem:ad49f688a494b351ccbb0102dcfafb925"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ad49f688a494b351ccbb0102dcfafb925">ls</a> (uint8_t flags=0)</td></tr>
  275. <tr class="separator:ad49f688a494b351ccbb0102dcfafb925"><td class="memSeparator" colspan="2">&#160;</td></tr>
  276. <tr class="memitem:acabf31ff85e696fbf384c49428012fea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#acabf31ff85e696fbf384c49428012fea">ls</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr, uint8_t flags=0, uint8_t indent=0)</td></tr>
  277. <tr class="separator:acabf31ff85e696fbf384c49428012fea"><td class="memSeparator" colspan="2">&#160;</td></tr>
  278. <tr class="memitem:abab5b9f72cc796388dd4eed01d13d90d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#abab5b9f72cc796388dd4eed01d13d90d">mkdir</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dir, const char *path, bool pFlag=true)</td></tr>
  279. <tr class="separator:abab5b9f72cc796388dd4eed01d13d90d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  280. <tr class="memitem:a5f64576d3d19177ab3cf3812b69abdfa"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a5f64576d3d19177ab3cf3812b69abdfa">open</a> (<a class="el" href="class_fat_file_system.html">FatFileSystem</a> *fs, const char *path, uint8_t oflag)</td></tr>
  281. <tr class="separator:a5f64576d3d19177ab3cf3812b69abdfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  282. <tr class="memitem:ad3fa9daaccb4e4179fb88a8ca037aa80"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ad3fa9daaccb4e4179fb88a8ca037aa80">open</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dirFile, uint16_t index, uint8_t oflag)</td></tr>
  283. <tr class="separator:ad3fa9daaccb4e4179fb88a8ca037aa80"><td class="memSeparator" colspan="2">&#160;</td></tr>
  284. <tr class="memitem:a211be757679b18708f6b6a36464e4f61"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a211be757679b18708f6b6a36464e4f61">open</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dirFile, const char *path, uint8_t oflag)</td></tr>
  285. <tr class="separator:a211be757679b18708f6b6a36464e4f61"><td class="memSeparator" colspan="2">&#160;</td></tr>
  286. <tr class="memitem:ab0e7075062c89f356441f80fc64d03e6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ab0e7075062c89f356441f80fc64d03e6">open</a> (const char *path, uint8_t oflag=O_READ)</td></tr>
  287. <tr class="separator:ab0e7075062c89f356441f80fc64d03e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  288. <tr class="memitem:a8034c4649eb0d26715b1a8a69e73d9d0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a8034c4649eb0d26715b1a8a69e73d9d0">openNext</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dirFile, uint8_t oflag=O_READ)</td></tr>
  289. <tr class="separator:a8034c4649eb0d26715b1a8a69e73d9d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  290. <tr class="memitem:a7e0c0548fed3a69e7284b91b694439d4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a7e0c0548fed3a69e7284b91b694439d4">openRoot</a> (<a class="el" href="class_fat_volume.html">FatVolume</a> *vol)</td></tr>
  291. <tr class="separator:a7e0c0548fed3a69e7284b91b694439d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  292. <tr class="memitem:ac05b7136b887539426856c623869aa3a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ac05b7136b887539426856c623869aa3a">peek</a> ()</td></tr>
  293. <tr class="separator:ac05b7136b887539426856c623869aa3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  294. <tr class="memitem:a558530f20314a8d8ee3d1a488fc7f46e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a558530f20314a8d8ee3d1a488fc7f46e">printCreateDateTime</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr)</td></tr>
  295. <tr class="separator:a558530f20314a8d8ee3d1a488fc7f46e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  296. <tr class="memitem:abd3e1747511216462b3ef98167156cbb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#abd3e1747511216462b3ef98167156cbb">printField</a> (int16_t value, char term)</td></tr>
  297. <tr class="separator:abd3e1747511216462b3ef98167156cbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  298. <tr class="memitem:a9972c2419c293ef9c382bff666b9ae4d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a9972c2419c293ef9c382bff666b9ae4d">printField</a> (uint16_t value, char term)</td></tr>
  299. <tr class="separator:a9972c2419c293ef9c382bff666b9ae4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  300. <tr class="memitem:a41b3b32dd8482429b74c7af3432d6cf8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a41b3b32dd8482429b74c7af3432d6cf8">printField</a> (int32_t value, char term)</td></tr>
  301. <tr class="separator:a41b3b32dd8482429b74c7af3432d6cf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  302. <tr class="memitem:a097240f08baadeb1c64b63eab9afb088"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a097240f08baadeb1c64b63eab9afb088">printField</a> (uint32_t value, char term)</td></tr>
  303. <tr class="separator:a097240f08baadeb1c64b63eab9afb088"><td class="memSeparator" colspan="2">&#160;</td></tr>
  304. <tr class="memitem:a12a5d2de2737c201aa39ca1bd2ab9c47"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a12a5d2de2737c201aa39ca1bd2ab9c47">printFileSize</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr)</td></tr>
  305. <tr class="separator:a12a5d2de2737c201aa39ca1bd2ab9c47"><td class="memSeparator" colspan="2">&#160;</td></tr>
  306. <tr class="memitem:a05cee5df46a370bf916d3ba597c82e39"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a05cee5df46a370bf916d3ba597c82e39">printModifyDateTime</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr)</td></tr>
  307. <tr class="separator:a05cee5df46a370bf916d3ba597c82e39"><td class="memSeparator" colspan="2">&#160;</td></tr>
  308. <tr class="memitem:ad1cbc3aeb0f5193b7a26595966da9621"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ad1cbc3aeb0f5193b7a26595966da9621">printName</a> ()</td></tr>
  309. <tr class="separator:ad1cbc3aeb0f5193b7a26595966da9621"><td class="memSeparator" colspan="2">&#160;</td></tr>
  310. <tr class="memitem:afe18a787fb8640e2d2483370c770f82f"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#afe18a787fb8640e2d2483370c770f82f">printName</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr)</td></tr>
  311. <tr class="separator:afe18a787fb8640e2d2483370c770f82f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  312. <tr class="memitem:a791cd7aade71f609aab62ec018aea3c0"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a791cd7aade71f609aab62ec018aea3c0">printSFN</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr)</td></tr>
  313. <tr class="separator:a791cd7aade71f609aab62ec018aea3c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  314. <tr class="memitem:a60ae55ff6fe158c2340071d702a363c5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a60ae55ff6fe158c2340071d702a363c5">read</a> ()</td></tr>
  315. <tr class="separator:a60ae55ff6fe158c2340071d702a363c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  316. <tr class="memitem:a200e6e0553d5b709520c9dfac9ef77dd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a200e6e0553d5b709520c9dfac9ef77dd">read</a> (void *buf, size_t nbyte)</td></tr>
  317. <tr class="separator:a200e6e0553d5b709520c9dfac9ef77dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  318. <tr class="memitem:a1325afe074c3efecff666678cd9f116a"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a1325afe074c3efecff666678cd9f116a">readDir</a> (<a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *dir)</td></tr>
  319. <tr class="separator:a1325afe074c3efecff666678cd9f116a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  320. <tr class="memitem:ac837a537fbcca14c7aa390c5fc9f4e7c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ac837a537fbcca14c7aa390c5fc9f4e7c">remove</a> ()</td></tr>
  321. <tr class="separator:ac837a537fbcca14c7aa390c5fc9f4e7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  322. <tr class="memitem:a4b42f2454ff462555c07ea094a92a1e0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a4b42f2454ff462555c07ea094a92a1e0">rename</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dirFile, const char *newPath)</td></tr>
  323. <tr class="separator:a4b42f2454ff462555c07ea094a92a1e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  324. <tr class="memitem:a9515bac181d33e7f0125e88fa2ccd283"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a9515bac181d33e7f0125e88fa2ccd283">rmdir</a> ()</td></tr>
  325. <tr class="separator:a9515bac181d33e7f0125e88fa2ccd283"><td class="memSeparator" colspan="2">&#160;</td></tr>
  326. <tr class="memitem:ac780a80526f86d3def701ecdc99d8bfe"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ac780a80526f86d3def701ecdc99d8bfe">rmRfStar</a> ()</td></tr>
  327. <tr class="separator:ac780a80526f86d3def701ecdc99d8bfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  328. <tr class="memitem:a5812037ea30777cc350698ad26f2c73f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a5812037ea30777cc350698ad26f2c73f">seekCur</a> (int32_t offset)</td></tr>
  329. <tr class="separator:a5812037ea30777cc350698ad26f2c73f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  330. <tr class="memitem:a84f677f4e75ef6fa2eb632f4cdf6b486"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a84f677f4e75ef6fa2eb632f4cdf6b486">seekEnd</a> (int32_t offset=0)</td></tr>
  331. <tr class="separator:a84f677f4e75ef6fa2eb632f4cdf6b486"><td class="memSeparator" colspan="2">&#160;</td></tr>
  332. <tr class="memitem:ab067190d25733ed7e697d9890f61fd7a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ab067190d25733ed7e697d9890f61fd7a">seekSet</a> (uint32_t pos)</td></tr>
  333. <tr class="separator:ab067190d25733ed7e697d9890f61fd7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  334. <tr class="memitem:acf264de4e3ca36c5e8a39e56173c9044"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#acf264de4e3ca36c5e8a39e56173c9044">setpos</a> (<a class="el" href="struct_fat_pos__t.html">FatPos_t</a> *pos)</td></tr>
  335. <tr class="separator:acf264de4e3ca36c5e8a39e56173c9044"><td class="memSeparator" colspan="2">&#160;</td></tr>
  336. <tr class="memitem:a67f3dc4896c542d695e11aac927f585e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a67f3dc4896c542d695e11aac927f585e">sync</a> ()</td></tr>
  337. <tr class="separator:a67f3dc4896c542d695e11aac927f585e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  338. <tr class="memitem:aa53a8d1d2467ad9af7d61cbf8ee85243"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aa53a8d1d2467ad9af7d61cbf8ee85243">timestamp</a> (<a class="el" href="class_fat_file.html">FatFile</a> *file)</td></tr>
  339. <tr class="separator:aa53a8d1d2467ad9af7d61cbf8ee85243"><td class="memSeparator" colspan="2">&#160;</td></tr>
  340. <tr class="memitem:a56dabdf73833b7e961c4530eb8e16d23"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a56dabdf73833b7e961c4530eb8e16d23">timestamp</a> (uint8_t flags, uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second)</td></tr>
  341. <tr class="separator:a56dabdf73833b7e961c4530eb8e16d23"><td class="memSeparator" colspan="2">&#160;</td></tr>
  342. <tr class="memitem:aa6e663098a578635d37d92e82d18d616"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aa6e663098a578635d37d92e82d18d616">truncate</a> (uint32_t length)</td></tr>
  343. <tr class="separator:aa6e663098a578635d37d92e82d18d616"><td class="memSeparator" colspan="2">&#160;</td></tr>
  344. <tr class="memitem:a3c64bd8a9abb9a6461d4addb405614df"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_fat_volume.html">FatVolume</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a3c64bd8a9abb9a6461d4addb405614df">volume</a> () const </td></tr>
  345. <tr class="separator:a3c64bd8a9abb9a6461d4addb405614df"><td class="memSeparator" colspan="2">&#160;</td></tr>
  346. <tr class="memitem:aa4a5b81161994cea07938702cdfce49f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aa4a5b81161994cea07938702cdfce49f">write</a> (const char *str)</td></tr>
  347. <tr class="separator:aa4a5b81161994cea07938702cdfce49f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  348. <tr class="memitem:a5524bd9f3b8f54ee163e391cba618186"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a5524bd9f3b8f54ee163e391cba618186">write</a> (uint8_t b)</td></tr>
  349. <tr class="separator:a5524bd9f3b8f54ee163e391cba618186"><td class="memSeparator" colspan="2">&#160;</td></tr>
  350. </table><table class="memberdecls">
  351. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-methods"></a>
  352. Static Private Member Functions</h2></td></tr>
  353. <tr class="memitem:a3b68e603ad8e47bad915f0547e580adb"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_fat_file.html">FatFile</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a3b68e603ad8e47bad915f0547e580adb">cwd</a> ()</td></tr>
  354. <tr class="separator:a3b68e603ad8e47bad915f0547e580adb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  355. <tr class="memitem:a29a623f50df057e8b49045ba6611ec2b"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a29a623f50df057e8b49045ba6611ec2b">dateTimeCallback</a> (void(*dateTime)(uint16_t *date, uint16_t *time))</td></tr>
  356. <tr class="separator:a29a623f50df057e8b49045ba6611ec2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  357. <tr class="memitem:a5df02f1d037e6091375488af25244ebc"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a5df02f1d037e6091375488af25244ebc">dateTimeCallbackCancel</a> ()</td></tr>
  358. <tr class="separator:a5df02f1d037e6091375488af25244ebc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  359. <tr class="memitem:a648461081fe07578780f4cd3f246cb66"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a648461081fe07578780f4cd3f246cb66">dirName</a> (const <a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *dir, char *name)</td></tr>
  360. <tr class="separator:a648461081fe07578780f4cd3f246cb66"><td class="memSeparator" colspan="2">&#160;</td></tr>
  361. <tr class="memitem:a94df8090f16e9666cdc53ca20f6aff90"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a94df8090f16e9666cdc53ca20f6aff90">legal83Char</a> (uint8_t c)</td></tr>
  362. <tr class="separator:a94df8090f16e9666cdc53ca20f6aff90"><td class="memSeparator" colspan="2">&#160;</td></tr>
  363. <tr class="memitem:a8fdb038aafdf3a17ac80b53c063aa73b"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a8fdb038aafdf3a17ac80b53c063aa73b">printFatDate</a> (uint16_t fatDate)</td></tr>
  364. <tr class="separator:a8fdb038aafdf3a17ac80b53c063aa73b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  365. <tr class="memitem:ada5364f66204b1a64afbf9d2e6cd2b0b"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ada5364f66204b1a64afbf9d2e6cd2b0b">printFatDate</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr, uint16_t fatDate)</td></tr>
  366. <tr class="separator:ada5364f66204b1a64afbf9d2e6cd2b0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  367. <tr class="memitem:a7740731f08ef97de7dfbc9b075c4c7d1"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a7740731f08ef97de7dfbc9b075c4c7d1">printFatTime</a> (uint16_t fatTime)</td></tr>
  368. <tr class="separator:a7740731f08ef97de7dfbc9b075c4c7d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  369. <tr class="memitem:a4e7e56ba52ca17c602af1b85684b09a9"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a4e7e56ba52ca17c602af1b85684b09a9">printFatTime</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr, uint16_t fatTime)</td></tr>
  370. <tr class="separator:a4e7e56ba52ca17c602af1b85684b09a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  371. <tr class="memitem:afe820bbb056863e91ec482961c8dc695"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#afe820bbb056863e91ec482961c8dc695">remove</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dirFile, const char *path)</td></tr>
  372. <tr class="separator:afe820bbb056863e91ec482961c8dc695"><td class="memSeparator" colspan="2">&#160;</td></tr>
  373. <tr class="memitem:a360ef9c05e677271bed6c0a4d663634c"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a360ef9c05e677271bed6c0a4d663634c">setCwd</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dir)</td></tr>
  374. <tr class="separator:a360ef9c05e677271bed6c0a4d663634c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  375. </table>
  376. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  377. <div class="textblock"><p><a class="el" href="class_stdio_stream.html" title="StdioStream implements a minimal stdio stream. ">StdioStream</a> implements a minimal stdio stream. </p>
  378. <p><a class="el" href="class_stdio_stream.html" title="StdioStream implements a minimal stdio stream. ">StdioStream</a> does not support subdirectories or long file names. </p>
  379. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  380. <a class="anchor" id="a96b2c027e76bfca6d6835c9ae1be2ad2"></a>
  381. <div class="memitem">
  382. <div class="memproto">
  383. <table class="mlabels">
  384. <tr>
  385. <td class="mlabels-left">
  386. <table class="memname">
  387. <tr>
  388. <td class="memname">StdioStream::StdioStream </td>
  389. <td>(</td>
  390. <td class="paramname"></td><td>)</td>
  391. <td></td>
  392. </tr>
  393. </table>
  394. </td>
  395. <td class="mlabels-right">
  396. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  397. </tr>
  398. </table>
  399. </div><div class="memdoc">
  400. <p>Constructor </p>
  401. </div>
  402. </div>
  403. <h2 class="groupheader">Member Function Documentation</h2>
  404. <a class="anchor" id="aa737e5680fc2808a03a603ea8559d82b"></a>
  405. <div class="memitem">
  406. <div class="memproto">
  407. <table class="mlabels">
  408. <tr>
  409. <td class="mlabels-left">
  410. <table class="memname">
  411. <tr>
  412. <td class="memname">void StdioStream::clearerr </td>
  413. <td>(</td>
  414. <td class="paramname"></td><td>)</td>
  415. <td></td>
  416. </tr>
  417. </table>
  418. </td>
  419. <td class="mlabels-right">
  420. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  421. </tr>
  422. </table>
  423. </div><div class="memdoc">
  424. <p>Clear the stream's end-of-file and error indicators. </p>
  425. </div>
  426. </div>
  427. <a class="anchor" id="a4ddd4658d49182013d2fa2a181e96c5a"></a>
  428. <div class="memitem">
  429. <div class="memproto">
  430. <table class="memname">
  431. <tr>
  432. <td class="memname">int StdioStream::fclose </td>
  433. <td>(</td>
  434. <td class="paramname"></td><td>)</td>
  435. <td></td>
  436. </tr>
  437. </table>
  438. </div><div class="memdoc">
  439. <p>Close a stream.</p>
  440. <p>A successful call to the fclose function causes the stream to be flushed and the associated file to be closed. Any unwritten buffered data is written to the file; any unread buffered data is discarded. Whether or not the call succeeds, the stream is disassociated from the file.</p>
  441. <dl class="section return"><dt>Returns</dt><dd>zero if the stream was successfully closed, or EOF if any any errors are detected. </dd></dl>
  442. </div>
  443. </div>
  444. <a class="anchor" id="acb38c3211feedbf2206eb1d9a3a9d24f"></a>
  445. <div class="memitem">
  446. <div class="memproto">
  447. <table class="mlabels">
  448. <tr>
  449. <td class="mlabels-left">
  450. <table class="memname">
  451. <tr>
  452. <td class="memname">int StdioStream::feof </td>
  453. <td>(</td>
  454. <td class="paramname"></td><td>)</td>
  455. <td></td>
  456. </tr>
  457. </table>
  458. </td>
  459. <td class="mlabels-right">
  460. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  461. </tr>
  462. </table>
  463. </div><div class="memdoc">
  464. <p>Test the stream's end-of-file indicator. </p><dl class="section return"><dt>Returns</dt><dd>non-zero if and only if the end-of-file indicator is set. </dd></dl>
  465. </div>
  466. </div>
  467. <a class="anchor" id="afd64cec6440b923660b444f6d5f0586e"></a>
  468. <div class="memitem">
  469. <div class="memproto">
  470. <table class="mlabels">
  471. <tr>
  472. <td class="mlabels-left">
  473. <table class="memname">
  474. <tr>
  475. <td class="memname">int StdioStream::ferror </td>
  476. <td>(</td>
  477. <td class="paramname"></td><td>)</td>
  478. <td></td>
  479. </tr>
  480. </table>
  481. </td>
  482. <td class="mlabels-right">
  483. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  484. </tr>
  485. </table>
  486. </div><div class="memdoc">
  487. <p>Test the stream's error indicator. </p><dl class="section return"><dt>Returns</dt><dd>return non-zero if and only if the error indicator is set. </dd></dl>
  488. </div>
  489. </div>
  490. <a class="anchor" id="a7ce32ec7ea3f2fd8ea42b9633890f1c0"></a>
  491. <div class="memitem">
  492. <div class="memproto">
  493. <table class="memname">
  494. <tr>
  495. <td class="memname">int StdioStream::fflush </td>
  496. <td>(</td>
  497. <td class="paramname"></td><td>)</td>
  498. <td></td>
  499. </tr>
  500. </table>
  501. </div><div class="memdoc">
  502. <p>Flush the stream.</p>
  503. <p>If stream is an output stream or an update stream in which the most recent operation was not input, any unwritten data is written to the file; otherwise the call is an error since any buffered input data would be lost.</p>
  504. <dl class="section return"><dt>Returns</dt><dd>sets the error indicator for the stream and returns EOF if an error occurs, otherwise it returns zero. </dd></dl>
  505. </div>
  506. </div>
  507. <a class="anchor" id="a160bd2828cb7e7370cffe1046eff8899"></a>
  508. <div class="memitem">
  509. <div class="memproto">
  510. <table class="mlabels">
  511. <tr>
  512. <td class="mlabels-left">
  513. <table class="memname">
  514. <tr>
  515. <td class="memname">int StdioStream::fgetc </td>
  516. <td>(</td>
  517. <td class="paramname"></td><td>)</td>
  518. <td></td>
  519. </tr>
  520. </table>
  521. </td>
  522. <td class="mlabels-right">
  523. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  524. </tr>
  525. </table>
  526. </div><div class="memdoc">
  527. <p>Get a byte from the stream.</p>
  528. <dl class="section return"><dt>Returns</dt><dd>If the end-of-file indicator for the stream is set, or if the stream is at end-of-file, the end-of-file indicator for the stream is set and the fgetc function returns EOF. Otherwise, the fgetc function returns the next character from the input stream. </dd></dl>
  529. </div>
  530. </div>
  531. <a class="anchor" id="aa240c1021a1aad1cc57f63a483541dc7"></a>
  532. <div class="memitem">
  533. <div class="memproto">
  534. <table class="memname">
  535. <tr>
  536. <td class="memname">char * StdioStream::fgets </td>
  537. <td>(</td>
  538. <td class="paramtype">char *&#160;</td>
  539. <td class="paramname"><em>str</em>, </td>
  540. </tr>
  541. <tr>
  542. <td class="paramkey"></td>
  543. <td></td>
  544. <td class="paramtype">size_t&#160;</td>
  545. <td class="paramname"><em>num</em>, </td>
  546. </tr>
  547. <tr>
  548. <td class="paramkey"></td>
  549. <td></td>
  550. <td class="paramtype">size_t *&#160;</td>
  551. <td class="paramname"><em>len</em> = <code>0</code>&#160;</td>
  552. </tr>
  553. <tr>
  554. <td></td>
  555. <td>)</td>
  556. <td></td><td></td>
  557. </tr>
  558. </table>
  559. </div><div class="memdoc">
  560. <p>Get a string from a stream.</p>
  561. <p>The fgets function reads at most one less than the number of characters specified by num from the stream into the array pointed to by str. No additional characters are read after a new-line character (which is retained) or after end-of-file. A null character is written immediately after the last character read into the array.</p>
  562. <dl class="params"><dt>Parameters</dt><dd>
  563. <table class="params">
  564. <tr><td class="paramdir">[out]</td><td class="paramname">str</td><td>Pointer to an array of where the string is copied.</td></tr>
  565. <tr><td class="paramdir">[in]</td><td class="paramname">num</td><td>Maximum number of characters including the null character.</td></tr>
  566. <tr><td class="paramdir">[out]</td><td class="paramname">len</td><td>If len is not null and fgets is successful, the length of the string is returned.</td></tr>
  567. </table>
  568. </dd>
  569. </dl>
  570. <dl class="section return"><dt>Returns</dt><dd>str if successful. If end-of-file is encountered and no characters have been read into the array, the contents of the array remain unchanged and a null pointer is returned. If a read error occurs during the operation, the array contents are indeterminate and a null pointer is returned. </dd></dl>
  571. </div>
  572. </div>
  573. <a class="anchor" id="a4ffc37225fb6deed98905aa71d1f9c4b"></a>
  574. <div class="memitem">
  575. <div class="memproto">
  576. <table class="memname">
  577. <tr>
  578. <td class="memname">bool StdioStream::fopen </td>
  579. <td>(</td>
  580. <td class="paramtype">const char *&#160;</td>
  581. <td class="paramname"><em>path</em>, </td>
  582. </tr>
  583. <tr>
  584. <td class="paramkey"></td>
  585. <td></td>
  586. <td class="paramtype">const char *&#160;</td>
  587. <td class="paramname"><em>mode</em>&#160;</td>
  588. </tr>
  589. <tr>
  590. <td></td>
  591. <td>)</td>
  592. <td></td><td></td>
  593. </tr>
  594. </table>
  595. </div><div class="memdoc">
  596. <p>Open a stream.</p>
  597. <p>Open a file and associates the stream with it.</p>
  598. <dl class="params"><dt>Parameters</dt><dd>
  599. <table class="params">
  600. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>file to be opened.</td></tr>
  601. <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>a string that indicates the open mode.</td></tr>
  602. </table>
  603. </dd>
  604. </dl>
  605. <table class="doxtable">
  606. <tr>
  607. <td>"r" or "rb" </td><td>Open a file for reading. The file must exist. </td></tr>
  608. <tr>
  609. <td>"w" or "wb" </td><td>Truncate an existing to zero length or create an empty file for writing. </td></tr>
  610. <tr>
  611. <td>"wx" or "wbx" </td><td>Create a file for writing. Fails if the file already exists. </td></tr>
  612. <tr>
  613. <td>"a" or "ab" </td><td>Append; open or create file for writing at end-of-file. </td></tr>
  614. <tr>
  615. <td>"r+" or "rb+" or "r+b" </td><td>Open a file for update (reading and writing). </td></tr>
  616. <tr>
  617. <td>"w+" or "w+b" or "wb+" </td><td>Truncate an existing to zero length or create a file for update. </td></tr>
  618. <tr>
  619. <td>"w+x" or "w+bx" or "wb+x" </td><td>Create a file for update. Fails if the file already exists. </td></tr>
  620. <tr>
  621. <td>"a+" or "a+b" or "ab+" </td><td>Append; open or create a file for update, writing at end-of-file. </td></tr>
  622. </table>
  623. <p>The character 'b' shall have no effect, but is allowed for ISO C standard conformance.</p>
  624. <p>Opening a file with append mode causes all subsequent writes to the file to be forced to the then current end-of-file, regardless of intervening calls to the fseek function.</p>
  625. <p>When a file is opened with update mode, both input and output may be performed on the associated stream. However, output shall not be directly followed by input without an intervening call to the fflush function or to a file positioning function (fseek, or rewind), and input shall not be directly followed by output without an intervening call to a file positioning function, unless the input operation encounters end-of-file.</p>
  626. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  627. </div>
  628. </div>
  629. <a class="anchor" id="a9f23cfa6b112a5da6ae08340af23c57b"></a>
  630. <div class="memitem">
  631. <div class="memproto">
  632. <table class="mlabels">
  633. <tr>
  634. <td class="mlabels-left">
  635. <table class="memname">
  636. <tr>
  637. <td class="memname">int StdioStream::fputc </td>
  638. <td>(</td>
  639. <td class="paramtype">int&#160;</td>
  640. <td class="paramname"><em>c</em></td><td>)</td>
  641. <td></td>
  642. </tr>
  643. </table>
  644. </td>
  645. <td class="mlabels-right">
  646. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  647. </tr>
  648. </table>
  649. </div><div class="memdoc">
  650. <p>Write a byte to a stream.</p>
  651. <dl class="params"><dt>Parameters</dt><dd>
  652. <table class="params">
  653. <tr><td class="paramdir">[in]</td><td class="paramname">c</td><td>the byte to be written (converted to an unsigned char).</td></tr>
  654. </table>
  655. </dd>
  656. </dl>
  657. <dl class="section return"><dt>Returns</dt><dd>Upon successful completion, <a class="el" href="class_stdio_stream.html#a9f23cfa6b112a5da6ae08340af23c57b">fputc()</a> returns the value it has written. Otherwise, it returns EOF and sets the error indicator for the stream. </dd></dl>
  658. </div>
  659. </div>
  660. <a class="anchor" id="a6adea52f55ef7d97cdb54e9e11fc2daa"></a>
  661. <div class="memitem">
  662. <div class="memproto">
  663. <table class="memname">
  664. <tr>
  665. <td class="memname">int StdioStream::fputs </td>
  666. <td>(</td>
  667. <td class="paramtype">const char *&#160;</td>
  668. <td class="paramname"><em>str</em></td><td>)</td>
  669. <td></td>
  670. </tr>
  671. </table>
  672. </div><div class="memdoc">
  673. <p>Write a string to a stream.</p>
  674. <dl class="params"><dt>Parameters</dt><dd>
  675. <table class="params">
  676. <tr><td class="paramdir">[in]</td><td class="paramname">str</td><td>a pointer to the string to be written.</td></tr>
  677. </table>
  678. </dd>
  679. </dl>
  680. <dl class="section return"><dt>Returns</dt><dd>for success, <a class="el" href="class_stdio_stream.html#a6adea52f55ef7d97cdb54e9e11fc2daa">fputs()</a> returns a non-negative number. Otherwise, it returns EOF and sets the error indicator for the stream. </dd></dl>
  681. </div>
  682. </div>
  683. <a class="anchor" id="a2d363b02abcef82b25ff025d50375bce"></a>
  684. <div class="memitem">
  685. <div class="memproto">
  686. <table class="memname">
  687. <tr>
  688. <td class="memname">size_t StdioStream::fread </td>
  689. <td>(</td>
  690. <td class="paramtype">void *&#160;</td>
  691. <td class="paramname"><em>ptr</em>, </td>
  692. </tr>
  693. <tr>
  694. <td class="paramkey"></td>
  695. <td></td>
  696. <td class="paramtype">size_t&#160;</td>
  697. <td class="paramname"><em>size</em>, </td>
  698. </tr>
  699. <tr>
  700. <td class="paramkey"></td>
  701. <td></td>
  702. <td class="paramtype">size_t&#160;</td>
  703. <td class="paramname"><em>count</em>&#160;</td>
  704. </tr>
  705. <tr>
  706. <td></td>
  707. <td>)</td>
  708. <td></td><td></td>
  709. </tr>
  710. </table>
  711. </div><div class="memdoc">
  712. <p>Binary input.</p>
  713. <p>Reads an array of up to count elements, each one with a size of size bytes. </p><dl class="params"><dt>Parameters</dt><dd>
  714. <table class="params">
  715. <tr><td class="paramdir">[out]</td><td class="paramname">ptr</td><td>pointer to area of at least (size*count) bytes where the data will be stored.</td></tr>
  716. <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>the size, in bytes, of each element to be read.</td></tr>
  717. <tr><td class="paramdir">[in]</td><td class="paramname">count</td><td>the number of elements to be read.</td></tr>
  718. </table>
  719. </dd>
  720. </dl>
  721. <dl class="section return"><dt>Returns</dt><dd>number of elements successfully read, which may be less than count if a read error or end-of-file is encountered. If size or count is zero, fread returns zero and the contents of the array and the state of the stream remain unchanged. </dd></dl>
  722. </div>
  723. </div>
  724. <a class="anchor" id="a71584fd5c5cda3c31ce6cdbcc56f104d"></a>
  725. <div class="memitem">
  726. <div class="memproto">
  727. <table class="memname">
  728. <tr>
  729. <td class="memname">int StdioStream::fseek </td>
  730. <td>(</td>
  731. <td class="paramtype">int32_t&#160;</td>
  732. <td class="paramname"><em>offset</em>, </td>
  733. </tr>
  734. <tr>
  735. <td class="paramkey"></td>
  736. <td></td>
  737. <td class="paramtype">int&#160;</td>
  738. <td class="paramname"><em>origin</em>&#160;</td>
  739. </tr>
  740. <tr>
  741. <td></td>
  742. <td>)</td>
  743. <td></td><td></td>
  744. </tr>
  745. </table>
  746. </div><div class="memdoc">
  747. <p>Set the file position for the stream.</p>
  748. <dl class="params"><dt>Parameters</dt><dd>
  749. <table class="params">
  750. <tr><td class="paramdir">[in]</td><td class="paramname">offset</td><td>number of offset from the origin.</td></tr>
  751. <tr><td class="paramdir">[in]</td><td class="paramname">origin</td><td>position used as reference for the offset. It is specified by one of the following constants.</td></tr>
  752. </table>
  753. </dd>
  754. </dl>
  755. <p>SEEK_SET - Beginning of file.</p>
  756. <p>SEEK_CUR - Current position of the file pointer.</p>
  757. <p>SEEK_END - End of file.</p>
  758. <dl class="section return"><dt>Returns</dt><dd>zero for success. Otherwise, it returns non-zero and sets the error indicator for the stream. </dd></dl>
  759. </div>
  760. </div>
  761. <a class="anchor" id="a809639fc5fb4fa5b6789dc121659f386"></a>
  762. <div class="memitem">
  763. <div class="memproto">
  764. <table class="memname">
  765. <tr>
  766. <td class="memname">int32_t StdioStream::ftell </td>
  767. <td>(</td>
  768. <td class="paramname"></td><td>)</td>
  769. <td></td>
  770. </tr>
  771. </table>
  772. </div><div class="memdoc">
  773. <p>Get the current position in a stream.</p>
  774. <dl class="section return"><dt>Returns</dt><dd>If successful, ftell return the current value of the position indicator. On failure, ftell returns −1L. </dd></dl>
  775. </div>
  776. </div>
  777. <a class="anchor" id="ad79465afb52579cbc801f4585c3f9c25"></a>
  778. <div class="memitem">
  779. <div class="memproto">
  780. <table class="memname">
  781. <tr>
  782. <td class="memname">size_t StdioStream::fwrite </td>
  783. <td>(</td>
  784. <td class="paramtype">const void *&#160;</td>
  785. <td class="paramname"><em>ptr</em>, </td>
  786. </tr>
  787. <tr>
  788. <td class="paramkey"></td>
  789. <td></td>
  790. <td class="paramtype">size_t&#160;</td>
  791. <td class="paramname"><em>size</em>, </td>
  792. </tr>
  793. <tr>
  794. <td class="paramkey"></td>
  795. <td></td>
  796. <td class="paramtype">size_t&#160;</td>
  797. <td class="paramname"><em>count</em>&#160;</td>
  798. </tr>
  799. <tr>
  800. <td></td>
  801. <td>)</td>
  802. <td></td><td></td>
  803. </tr>
  804. </table>
  805. </div><div class="memdoc">
  806. <p>Binary output.</p>
  807. <p>Writes an array of up to count elements, each one with a size of size bytes. </p><dl class="params"><dt>Parameters</dt><dd>
  808. <table class="params">
  809. <tr><td class="paramdir">[in]</td><td class="paramname">ptr</td><td>pointer to (size*count) bytes of data to be written.</td></tr>
  810. <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>the size, in bytes, of each element to be written.</td></tr>
  811. <tr><td class="paramdir">[in]</td><td class="paramname">count</td><td>the number of elements to be written.</td></tr>
  812. </table>
  813. </dd>
  814. </dl>
  815. <dl class="section return"><dt>Returns</dt><dd>number of elements successfully written. if this number is less than count, an error has occurred. If size or count is zero, fwrite returns zero. </dd></dl>
  816. </div>
  817. </div>
  818. <a class="anchor" id="a28ba31e7b526607744bfa41844ffce31"></a>
  819. <div class="memitem">
  820. <div class="memproto">
  821. <table class="mlabels">
  822. <tr>
  823. <td class="mlabels-left">
  824. <table class="memname">
  825. <tr>
  826. <td class="memname">int StdioStream::getc </td>
  827. <td>(</td>
  828. <td class="paramname"></td><td>)</td>
  829. <td></td>
  830. </tr>
  831. </table>
  832. </td>
  833. <td class="mlabels-right">
  834. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  835. </tr>
  836. </table>
  837. </div><div class="memdoc">
  838. <p>Get a byte from the stream.</p>
  839. <p>getc and fgetc are equivalent but getc is in-line so it is faster but require more flash memory.</p>
  840. <dl class="section return"><dt>Returns</dt><dd>If the end-of-file indicator for the stream is set, or if the stream is at end-of-file, the end-of-file indicator for the stream is set and the fgetc function returns EOF. Otherwise, the fgetc function returns the next character from the input stream. </dd></dl>
  841. </div>
  842. </div>
  843. <a class="anchor" id="ad3f6ee8e8ca5dcf6dabfd88199b172e2"></a>
  844. <div class="memitem">
  845. <div class="memproto">
  846. <table class="mlabels">
  847. <tr>
  848. <td class="mlabels-left">
  849. <table class="memname">
  850. <tr>
  851. <td class="memname">size_t StdioStream::print </td>
  852. <td>(</td>
  853. <td class="paramtype">char&#160;</td>
  854. <td class="paramname"><em>c</em></td><td>)</td>
  855. <td></td>
  856. </tr>
  857. </table>
  858. </td>
  859. <td class="mlabels-right">
  860. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  861. </tr>
  862. </table>
  863. </div><div class="memdoc">
  864. <p>Write a character. </p><dl class="params"><dt>Parameters</dt><dd>
  865. <table class="params">
  866. <tr><td class="paramdir">[in]</td><td class="paramname">c</td><td>the character to write. </td></tr>
  867. </table>
  868. </dd>
  869. </dl>
  870. <dl class="section return"><dt>Returns</dt><dd>the number of bytes written. </dd></dl>
  871. </div>
  872. </div>
  873. <a class="anchor" id="a1158ea5f9bf041f21b1733b7811c9bb9"></a>
  874. <div class="memitem">
  875. <div class="memproto">
  876. <table class="mlabels">
  877. <tr>
  878. <td class="mlabels-left">
  879. <table class="memname">
  880. <tr>
  881. <td class="memname">size_t StdioStream::print </td>
  882. <td>(</td>
  883. <td class="paramtype">const char *&#160;</td>
  884. <td class="paramname"><em>str</em></td><td>)</td>
  885. <td></td>
  886. </tr>
  887. </table>
  888. </td>
  889. <td class="mlabels-right">
  890. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  891. </tr>
  892. </table>
  893. </div><div class="memdoc">
  894. <p>Write a string.</p>
  895. <dl class="params"><dt>Parameters</dt><dd>
  896. <table class="params">
  897. <tr><td class="paramdir">[in]</td><td class="paramname">str</td><td>the string to be written.</td></tr>
  898. </table>
  899. </dd>
  900. </dl>
  901. <dl class="section return"><dt>Returns</dt><dd>the number of bytes written. </dd></dl>
  902. </div>
  903. </div>
  904. <a class="anchor" id="aac4d7b3548d03b8fd70adf12c7ee315c"></a>
  905. <div class="memitem">
  906. <div class="memproto">
  907. <table class="memname">
  908. <tr>
  909. <td class="memname">size_t StdioStream::print </td>
  910. <td>(</td>
  911. <td class="paramtype">const __FlashStringHelper *&#160;</td>
  912. <td class="paramname"><em>str</em></td><td>)</td>
  913. <td></td>
  914. </tr>
  915. </table>
  916. </div><div class="memdoc">
  917. <p>Print a string stored in flash memory.</p>
  918. <dl class="params"><dt>Parameters</dt><dd>
  919. <table class="params">
  920. <tr><td class="paramdir">[in]</td><td class="paramname">str</td><td>the string to print.</td></tr>
  921. </table>
  922. </dd>
  923. </dl>
  924. <dl class="section return"><dt>Returns</dt><dd>the number of bytes written. </dd></dl>
  925. </div>
  926. </div>
  927. <a class="anchor" id="a26f5b98560b6771225005b073166108b"></a>
  928. <div class="memitem">
  929. <div class="memproto">
  930. <table class="mlabels">
  931. <tr>
  932. <td class="mlabels-left">
  933. <table class="memname">
  934. <tr>
  935. <td class="memname">size_t StdioStream::print </td>
  936. <td>(</td>
  937. <td class="paramtype">double&#160;</td>
  938. <td class="paramname"><em>val</em>, </td>
  939. </tr>
  940. <tr>
  941. <td class="paramkey"></td>
  942. <td></td>
  943. <td class="paramtype">uint8_t&#160;</td>
  944. <td class="paramname"><em>prec</em> = <code>2</code>&#160;</td>
  945. </tr>
  946. <tr>
  947. <td></td>
  948. <td>)</td>
  949. <td></td><td></td>
  950. </tr>
  951. </table>
  952. </td>
  953. <td class="mlabels-right">
  954. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  955. </tr>
  956. </table>
  957. </div><div class="memdoc">
  958. <p>Print a floating point number.</p>
  959. <dl class="params"><dt>Parameters</dt><dd>
  960. <table class="params">
  961. <tr><td class="paramdir">[in]</td><td class="paramname">prec</td><td>Number of digits after decimal point.</td></tr>
  962. <tr><td class="paramdir">[in]</td><td class="paramname">val</td><td>the number to be printed.</td></tr>
  963. </table>
  964. </dd>
  965. </dl>
  966. <dl class="section return"><dt>Returns</dt><dd>the number of bytes written. </dd></dl>
  967. </div>
  968. </div>
  969. <a class="anchor" id="a06b6eb9f0a7000fdcc73cd6af8d40560"></a>
  970. <div class="memitem">
  971. <div class="memproto">
  972. <table class="mlabels">
  973. <tr>
  974. <td class="mlabels-left">
  975. <table class="memname">
  976. <tr>
  977. <td class="memname">size_t StdioStream::print </td>
  978. <td>(</td>
  979. <td class="paramtype">float&#160;</td>
  980. <td class="paramname"><em>val</em>, </td>
  981. </tr>
  982. <tr>
  983. <td class="paramkey"></td>
  984. <td></td>
  985. <td class="paramtype">uint8_t&#160;</td>
  986. <td class="paramname"><em>prec</em> = <code>2</code>&#160;</td>
  987. </tr>
  988. <tr>
  989. <td></td>
  990. <td>)</td>
  991. <td></td><td></td>
  992. </tr>
  993. </table>
  994. </td>
  995. <td class="mlabels-right">
  996. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  997. </tr>
  998. </table>
  999. </div><div class="memdoc">
  1000. <p>Print a floating point number.</p>
  1001. <dl class="params"><dt>Parameters</dt><dd>
  1002. <table class="params">
  1003. <tr><td class="paramdir">[in]</td><td class="paramname">prec</td><td>Number of digits after decimal point.</td></tr>
  1004. <tr><td class="paramdir">[in]</td><td class="paramname">val</td><td>the number to be printed.</td></tr>
  1005. </table>
  1006. </dd>
  1007. </dl>
  1008. <dl class="section return"><dt>Returns</dt><dd>the number of bytes written. </dd></dl>
  1009. </div>
  1010. </div>
  1011. <a class="anchor" id="a7129f85c7c5f16867f467731ef84dee9"></a>
  1012. <div class="memitem">
  1013. <div class="memproto">
  1014. <div class="memtemplate">
  1015. template&lt;typename T &gt; </div>
  1016. <table class="mlabels">
  1017. <tr>
  1018. <td class="mlabels-left">
  1019. <table class="memname">
  1020. <tr>
  1021. <td class="memname">size_t StdioStream::print </td>
  1022. <td>(</td>
  1023. <td class="paramtype">T&#160;</td>
  1024. <td class="paramname"><em>val</em></td><td>)</td>
  1025. <td></td>
  1026. </tr>
  1027. </table>
  1028. </td>
  1029. <td class="mlabels-right">
  1030. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1031. </tr>
  1032. </table>
  1033. </div><div class="memdoc">
  1034. <p>Print a number.</p>
  1035. <dl class="params"><dt>Parameters</dt><dd>
  1036. <table class="params">
  1037. <tr><td class="paramdir">[in]</td><td class="paramname">val</td><td>the number to be printed.</td></tr>
  1038. </table>
  1039. </dd>
  1040. </dl>
  1041. <dl class="section return"><dt>Returns</dt><dd>the number of bytes written. </dd></dl>
  1042. </div>
  1043. </div>
  1044. <a class="anchor" id="ac0a907feb1e4b7e00de99857b4c0a470"></a>
  1045. <div class="memitem">
  1046. <div class="memproto">
  1047. <table class="mlabels">
  1048. <tr>
  1049. <td class="mlabels-left">
  1050. <table class="memname">
  1051. <tr>
  1052. <td class="memname">int StdioStream::printDec </td>
  1053. <td>(</td>
  1054. <td class="paramtype">char&#160;</td>
  1055. <td class="paramname"><em>n</em></td><td>)</td>
  1056. <td></td>
  1057. </tr>
  1058. </table>
  1059. </td>
  1060. <td class="mlabels-right">
  1061. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1062. </tr>
  1063. </table>
  1064. </div><div class="memdoc">
  1065. <p>Print a char as a number. </p><dl class="params"><dt>Parameters</dt><dd>
  1066. <table class="params">
  1067. <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>number to be printed. </td></tr>
  1068. </table>
  1069. </dd>
  1070. </dl>
  1071. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  1072. </div>
  1073. </div>
  1074. <a class="anchor" id="a2707ea97f6113c226781469f4f39ff62"></a>
  1075. <div class="memitem">
  1076. <div class="memproto">
  1077. <table class="memname">
  1078. <tr>
  1079. <td class="memname">int StdioStream::printDec </td>
  1080. <td>(</td>
  1081. <td class="paramtype">signed char&#160;</td>
  1082. <td class="paramname"><em>n</em></td><td>)</td>
  1083. <td></td>
  1084. </tr>
  1085. </table>
  1086. </div><div class="memdoc">
  1087. <p>print a signed 8-bit integer </p><dl class="params"><dt>Parameters</dt><dd>
  1088. <table class="params">
  1089. <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>number to be printed. </td></tr>
  1090. </table>
  1091. </dd>
  1092. </dl>
  1093. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  1094. </div>
  1095. </div>
  1096. <a class="anchor" id="a6e6ac78caa6259a4c4934707bf497a2b"></a>
  1097. <div class="memitem">
  1098. <div class="memproto">
  1099. <table class="mlabels">
  1100. <tr>
  1101. <td class="mlabels-left">
  1102. <table class="memname">
  1103. <tr>
  1104. <td class="memname">int StdioStream::printDec </td>
  1105. <td>(</td>
  1106. <td class="paramtype">unsigned char&#160;</td>
  1107. <td class="paramname"><em>n</em></td><td>)</td>
  1108. <td></td>
  1109. </tr>
  1110. </table>
  1111. </td>
  1112. <td class="mlabels-right">
  1113. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1114. </tr>
  1115. </table>
  1116. </div><div class="memdoc">
  1117. <p>Print an unsigned 8-bit number. </p><dl class="params"><dt>Parameters</dt><dd>
  1118. <table class="params">
  1119. <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>number to be print. </td></tr>
  1120. </table>
  1121. </dd>
  1122. </dl>
  1123. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  1124. </div>
  1125. </div>
  1126. <a class="anchor" id="a218af88db35f38babf01d6e0a9cdceeb"></a>
  1127. <div class="memitem">
  1128. <div class="memproto">
  1129. <table class="memname">
  1130. <tr>
  1131. <td class="memname">int StdioStream::printDec </td>
  1132. <td>(</td>
  1133. <td class="paramtype">int16_t&#160;</td>
  1134. <td class="paramname"><em>n</em></td><td>)</td>
  1135. <td></td>
  1136. </tr>
  1137. </table>
  1138. </div><div class="memdoc">
  1139. <p>Print a int16_t </p><dl class="params"><dt>Parameters</dt><dd>
  1140. <table class="params">
  1141. <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>number to be printed. </td></tr>
  1142. </table>
  1143. </dd>
  1144. </dl>
  1145. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  1146. </div>
  1147. </div>
  1148. <a class="anchor" id="a90b2999af94a3578fff7579c2acf8e35"></a>
  1149. <div class="memitem">
  1150. <div class="memproto">
  1151. <table class="memname">
  1152. <tr>
  1153. <td class="memname">int StdioStream::printDec </td>
  1154. <td>(</td>
  1155. <td class="paramtype">uint16_t&#160;</td>
  1156. <td class="paramname"><em>n</em></td><td>)</td>
  1157. <td></td>
  1158. </tr>
  1159. </table>
  1160. </div><div class="memdoc">
  1161. <p>print a uint16_t. </p><dl class="params"><dt>Parameters</dt><dd>
  1162. <table class="params">
  1163. <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>number to be printed. </td></tr>
  1164. </table>
  1165. </dd>
  1166. </dl>
  1167. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  1168. </div>
  1169. </div>
  1170. <a class="anchor" id="ad4591f1234b57f63c1acf0f3392099ac"></a>
  1171. <div class="memitem">
  1172. <div class="memproto">
  1173. <table class="memname">
  1174. <tr>
  1175. <td class="memname">int StdioStream::printDec </td>
  1176. <td>(</td>
  1177. <td class="paramtype">int32_t&#160;</td>
  1178. <td class="paramname"><em>n</em></td><td>)</td>
  1179. <td></td>
  1180. </tr>
  1181. </table>
  1182. </div><div class="memdoc">
  1183. <p>Print a signed 32-bit integer. </p><dl class="params"><dt>Parameters</dt><dd>
  1184. <table class="params">
  1185. <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>number to be printed. </td></tr>
  1186. </table>
  1187. </dd>
  1188. </dl>
  1189. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  1190. </div>
  1191. </div>
  1192. <a class="anchor" id="a8b6c2c80342abe45e6f564e9bd5bb7ea"></a>
  1193. <div class="memitem">
  1194. <div class="memproto">
  1195. <table class="memname">
  1196. <tr>
  1197. <td class="memname">int StdioStream::printDec </td>
  1198. <td>(</td>
  1199. <td class="paramtype">uint32_t&#160;</td>
  1200. <td class="paramname"><em>n</em></td><td>)</td>
  1201. <td></td>
  1202. </tr>
  1203. </table>
  1204. </div><div class="memdoc">
  1205. <p>Write an unsigned 32-bit number. </p><dl class="params"><dt>Parameters</dt><dd>
  1206. <table class="params">
  1207. <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>number to be printed. </td></tr>
  1208. </table>
  1209. </dd>
  1210. </dl>
  1211. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  1212. </div>
  1213. </div>
  1214. <a class="anchor" id="aaa8921947d4dbbae840d285cb633e8aa"></a>
  1215. <div class="memitem">
  1216. <div class="memproto">
  1217. <table class="mlabels">
  1218. <tr>
  1219. <td class="mlabels-left">
  1220. <table class="memname">
  1221. <tr>
  1222. <td class="memname">int StdioStream::printDec </td>
  1223. <td>(</td>
  1224. <td class="paramtype">double&#160;</td>
  1225. <td class="paramname"><em>value</em>, </td>
  1226. </tr>
  1227. <tr>
  1228. <td class="paramkey"></td>
  1229. <td></td>
  1230. <td class="paramtype">uint8_t&#160;</td>
  1231. <td class="paramname"><em>prec</em>&#160;</td>
  1232. </tr>
  1233. <tr>
  1234. <td></td>
  1235. <td>)</td>
  1236. <td></td><td></td>
  1237. </tr>
  1238. </table>
  1239. </td>
  1240. <td class="mlabels-right">
  1241. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1242. </tr>
  1243. </table>
  1244. </div><div class="memdoc">
  1245. <p>Print a double. </p><dl class="params"><dt>Parameters</dt><dd>
  1246. <table class="params">
  1247. <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>The number to be printed. </td></tr>
  1248. <tr><td class="paramdir">[in]</td><td class="paramname">prec</td><td>Number of digits after decimal point. </td></tr>
  1249. </table>
  1250. </dd>
  1251. </dl>
  1252. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  1253. </div>
  1254. </div>
  1255. <a class="anchor" id="a6a09284b1c6d0769c27916a2e131e749"></a>
  1256. <div class="memitem">
  1257. <div class="memproto">
  1258. <table class="memname">
  1259. <tr>
  1260. <td class="memname">int StdioStream::printDec </td>
  1261. <td>(</td>
  1262. <td class="paramtype">float&#160;</td>
  1263. <td class="paramname"><em>value</em>, </td>
  1264. </tr>
  1265. <tr>
  1266. <td class="paramkey"></td>
  1267. <td></td>
  1268. <td class="paramtype">uint8_t&#160;</td>
  1269. <td class="paramname"><em>prec</em>&#160;</td>
  1270. </tr>
  1271. <tr>
  1272. <td></td>
  1273. <td>)</td>
  1274. <td></td><td></td>
  1275. </tr>
  1276. </table>
  1277. </div><div class="memdoc">
  1278. <p>Print a float. </p><dl class="params"><dt>Parameters</dt><dd>
  1279. <table class="params">
  1280. <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>The number to be printed. </td></tr>
  1281. <tr><td class="paramdir">[in]</td><td class="paramname">prec</td><td>Number of digits after decimal point. </td></tr>
  1282. </table>
  1283. </dd>
  1284. </dl>
  1285. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  1286. </div>
  1287. </div>
  1288. <a class="anchor" id="a4988592ada39c4b4c603b061f84d183f"></a>
  1289. <div class="memitem">
  1290. <div class="memproto">
  1291. <table class="mlabels">
  1292. <tr>
  1293. <td class="mlabels-left">
  1294. <table class="memname">
  1295. <tr>
  1296. <td class="memname">int StdioStream::printField </td>
  1297. <td>(</td>
  1298. <td class="paramtype">double&#160;</td>
  1299. <td class="paramname"><em>value</em>, </td>
  1300. </tr>
  1301. <tr>
  1302. <td class="paramkey"></td>
  1303. <td></td>
  1304. <td class="paramtype">char&#160;</td>
  1305. <td class="paramname"><em>term</em>, </td>
  1306. </tr>
  1307. <tr>
  1308. <td class="paramkey"></td>
  1309. <td></td>
  1310. <td class="paramtype">uint8_t&#160;</td>
  1311. <td class="paramname"><em>prec</em> = <code>2</code>&#160;</td>
  1312. </tr>
  1313. <tr>
  1314. <td></td>
  1315. <td>)</td>
  1316. <td></td><td></td>
  1317. </tr>
  1318. </table>
  1319. </td>
  1320. <td class="mlabels-right">
  1321. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1322. </tr>
  1323. </table>
  1324. </div><div class="memdoc">
  1325. <p>Print a number followed by a field terminator. </p><dl class="params"><dt>Parameters</dt><dd>
  1326. <table class="params">
  1327. <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>The number to be printed. </td></tr>
  1328. <tr><td class="paramdir">[in]</td><td class="paramname">term</td><td>The field terminator. </td></tr>
  1329. <tr><td class="paramdir">[in]</td><td class="paramname">prec</td><td>Number of digits after decimal point. </td></tr>
  1330. </table>
  1331. </dd>
  1332. </dl>
  1333. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  1334. </div>
  1335. </div>
  1336. <a class="anchor" id="a3b90b2317cc391f94784a847f5313c08"></a>
  1337. <div class="memitem">
  1338. <div class="memproto">
  1339. <table class="mlabels">
  1340. <tr>
  1341. <td class="mlabels-left">
  1342. <table class="memname">
  1343. <tr>
  1344. <td class="memname">int StdioStream::printField </td>
  1345. <td>(</td>
  1346. <td class="paramtype">float&#160;</td>
  1347. <td class="paramname"><em>value</em>, </td>
  1348. </tr>
  1349. <tr>
  1350. <td class="paramkey"></td>
  1351. <td></td>
  1352. <td class="paramtype">char&#160;</td>
  1353. <td class="paramname"><em>term</em>, </td>
  1354. </tr>
  1355. <tr>
  1356. <td class="paramkey"></td>
  1357. <td></td>
  1358. <td class="paramtype">uint8_t&#160;</td>
  1359. <td class="paramname"><em>prec</em> = <code>2</code>&#160;</td>
  1360. </tr>
  1361. <tr>
  1362. <td></td>
  1363. <td>)</td>
  1364. <td></td><td></td>
  1365. </tr>
  1366. </table>
  1367. </td>
  1368. <td class="mlabels-right">
  1369. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1370. </tr>
  1371. </table>
  1372. </div><div class="memdoc">
  1373. <p>Print a number followed by a field terminator. </p><dl class="params"><dt>Parameters</dt><dd>
  1374. <table class="params">
  1375. <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>The number to be printed. </td></tr>
  1376. <tr><td class="paramdir">[in]</td><td class="paramname">term</td><td>The field terminator. </td></tr>
  1377. <tr><td class="paramdir">[in]</td><td class="paramname">prec</td><td>Number of digits after decimal point. </td></tr>
  1378. </table>
  1379. </dd>
  1380. </dl>
  1381. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  1382. </div>
  1383. </div>
  1384. <a class="anchor" id="a02c2ad1a2e71e82d238b8386cf3e6c41"></a>
  1385. <div class="memitem">
  1386. <div class="memproto">
  1387. <div class="memtemplate">
  1388. template&lt;typename T &gt; </div>
  1389. <table class="mlabels">
  1390. <tr>
  1391. <td class="mlabels-left">
  1392. <table class="memname">
  1393. <tr>
  1394. <td class="memname">int StdioStream::printField </td>
  1395. <td>(</td>
  1396. <td class="paramtype">T&#160;</td>
  1397. <td class="paramname"><em>value</em>, </td>
  1398. </tr>
  1399. <tr>
  1400. <td class="paramkey"></td>
  1401. <td></td>
  1402. <td class="paramtype">char&#160;</td>
  1403. <td class="paramname"><em>term</em>&#160;</td>
  1404. </tr>
  1405. <tr>
  1406. <td></td>
  1407. <td>)</td>
  1408. <td></td><td></td>
  1409. </tr>
  1410. </table>
  1411. </td>
  1412. <td class="mlabels-right">
  1413. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1414. </tr>
  1415. </table>
  1416. </div><div class="memdoc">
  1417. <p>Print a number followed by a field terminator. </p><dl class="params"><dt>Parameters</dt><dd>
  1418. <table class="params">
  1419. <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>The number to be printed. </td></tr>
  1420. <tr><td class="paramdir">[in]</td><td class="paramname">term</td><td>The field terminator. </td></tr>
  1421. </table>
  1422. </dd>
  1423. </dl>
  1424. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  1425. </div>
  1426. </div>
  1427. <a class="anchor" id="add39b2b4ec3daa7c8922e96ce5d368bc"></a>
  1428. <div class="memitem">
  1429. <div class="memproto">
  1430. <table class="memname">
  1431. <tr>
  1432. <td class="memname">int StdioStream::printHex </td>
  1433. <td>(</td>
  1434. <td class="paramtype">uint32_t&#160;</td>
  1435. <td class="paramname"><em>n</em></td><td>)</td>
  1436. <td></td>
  1437. </tr>
  1438. </table>
  1439. </div><div class="memdoc">
  1440. <p>Print HEX </p><dl class="params"><dt>Parameters</dt><dd>
  1441. <table class="params">
  1442. <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>number to be printed as HEX.</td></tr>
  1443. </table>
  1444. </dd>
  1445. </dl>
  1446. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  1447. </div>
  1448. </div>
  1449. <a class="anchor" id="aec6ebea511489b0ef6b61d9132d93af9"></a>
  1450. <div class="memitem">
  1451. <div class="memproto">
  1452. <table class="mlabels">
  1453. <tr>
  1454. <td class="mlabels-left">
  1455. <table class="memname">
  1456. <tr>
  1457. <td class="memname">int StdioStream::printHexln </td>
  1458. <td>(</td>
  1459. <td class="paramtype">uint32_t&#160;</td>
  1460. <td class="paramname"><em>n</em></td><td>)</td>
  1461. <td></td>
  1462. </tr>
  1463. </table>
  1464. </td>
  1465. <td class="mlabels-right">
  1466. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1467. </tr>
  1468. </table>
  1469. </div><div class="memdoc">
  1470. <p>Print HEX with CRLF </p><dl class="params"><dt>Parameters</dt><dd>
  1471. <table class="params">
  1472. <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>number to be printed as HEX.</td></tr>
  1473. </table>
  1474. </dd>
  1475. </dl>
  1476. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  1477. </div>
  1478. </div>
  1479. <a class="anchor" id="ad0cd3acc05a91456f505752377bd405a"></a>
  1480. <div class="memitem">
  1481. <div class="memproto">
  1482. <table class="mlabels">
  1483. <tr>
  1484. <td class="mlabels-left">
  1485. <table class="memname">
  1486. <tr>
  1487. <td class="memname">size_t StdioStream::println </td>
  1488. <td>(</td>
  1489. <td class="paramname"></td><td>)</td>
  1490. <td></td>
  1491. </tr>
  1492. </table>
  1493. </td>
  1494. <td class="mlabels-right">
  1495. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1496. </tr>
  1497. </table>
  1498. </div><div class="memdoc">
  1499. <p>Write a CR/LF.</p>
  1500. <dl class="section return"><dt>Returns</dt><dd>two, the number of bytes written, for success or zero for failure. </dd></dl>
  1501. </div>
  1502. </div>
  1503. <a class="anchor" id="a3793dd66cf347a1ca0b7b167e948cce9"></a>
  1504. <div class="memitem">
  1505. <div class="memproto">
  1506. <table class="mlabels">
  1507. <tr>
  1508. <td class="mlabels-left">
  1509. <table class="memname">
  1510. <tr>
  1511. <td class="memname">size_t StdioStream::println </td>
  1512. <td>(</td>
  1513. <td class="paramtype">double&#160;</td>
  1514. <td class="paramname"><em>val</em>, </td>
  1515. </tr>
  1516. <tr>
  1517. <td class="paramkey"></td>
  1518. <td></td>
  1519. <td class="paramtype">uint8_t&#160;</td>
  1520. <td class="paramname"><em>prec</em> = <code>2</code>&#160;</td>
  1521. </tr>
  1522. <tr>
  1523. <td></td>
  1524. <td>)</td>
  1525. <td></td><td></td>
  1526. </tr>
  1527. </table>
  1528. </td>
  1529. <td class="mlabels-right">
  1530. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1531. </tr>
  1532. </table>
  1533. </div><div class="memdoc">
  1534. <p>Print a floating point number followed by CR/LF.</p>
  1535. <dl class="params"><dt>Parameters</dt><dd>
  1536. <table class="params">
  1537. <tr><td class="paramdir">[in]</td><td class="paramname">val</td><td>the number to be printed.</td></tr>
  1538. <tr><td class="paramdir">[in]</td><td class="paramname">prec</td><td>Number of digits after decimal point.</td></tr>
  1539. </table>
  1540. </dd>
  1541. </dl>
  1542. <dl class="section return"><dt>Returns</dt><dd>the number of bytes written. </dd></dl>
  1543. </div>
  1544. </div>
  1545. <a class="anchor" id="aac250d041a7844c8db1cbd2d97ecfdaa"></a>
  1546. <div class="memitem">
  1547. <div class="memproto">
  1548. <table class="mlabels">
  1549. <tr>
  1550. <td class="mlabels-left">
  1551. <table class="memname">
  1552. <tr>
  1553. <td class="memname">size_t StdioStream::println </td>
  1554. <td>(</td>
  1555. <td class="paramtype">float&#160;</td>
  1556. <td class="paramname"><em>val</em>, </td>
  1557. </tr>
  1558. <tr>
  1559. <td class="paramkey"></td>
  1560. <td></td>
  1561. <td class="paramtype">uint8_t&#160;</td>
  1562. <td class="paramname"><em>prec</em> = <code>2</code>&#160;</td>
  1563. </tr>
  1564. <tr>
  1565. <td></td>
  1566. <td>)</td>
  1567. <td></td><td></td>
  1568. </tr>
  1569. </table>
  1570. </td>
  1571. <td class="mlabels-right">
  1572. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1573. </tr>
  1574. </table>
  1575. </div><div class="memdoc">
  1576. <p>Print a floating point number followed by CR/LF.</p>
  1577. <dl class="params"><dt>Parameters</dt><dd>
  1578. <table class="params">
  1579. <tr><td class="paramdir">[in]</td><td class="paramname">val</td><td>the number to be printed.</td></tr>
  1580. <tr><td class="paramdir">[in]</td><td class="paramname">prec</td><td>Number of digits after decimal point.</td></tr>
  1581. </table>
  1582. </dd>
  1583. </dl>
  1584. <dl class="section return"><dt>Returns</dt><dd>the number of bytes written. </dd></dl>
  1585. </div>
  1586. </div>
  1587. <a class="anchor" id="a3b14532768d07e6ed89c762d04792c12"></a>
  1588. <div class="memitem">
  1589. <div class="memproto">
  1590. <div class="memtemplate">
  1591. template&lt;typename T &gt; </div>
  1592. <table class="mlabels">
  1593. <tr>
  1594. <td class="mlabels-left">
  1595. <table class="memname">
  1596. <tr>
  1597. <td class="memname">size_t StdioStream::println </td>
  1598. <td>(</td>
  1599. <td class="paramtype">T&#160;</td>
  1600. <td class="paramname"><em>val</em></td><td>)</td>
  1601. <td></td>
  1602. </tr>
  1603. </table>
  1604. </td>
  1605. <td class="mlabels-right">
  1606. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1607. </tr>
  1608. </table>
  1609. </div><div class="memdoc">
  1610. <p>Print an item followed by CR/LF</p>
  1611. <dl class="params"><dt>Parameters</dt><dd>
  1612. <table class="params">
  1613. <tr><td class="paramdir">[in]</td><td class="paramname">val</td><td>the item to be printed.</td></tr>
  1614. </table>
  1615. </dd>
  1616. </dl>
  1617. <dl class="section return"><dt>Returns</dt><dd>the number of bytes written. </dd></dl>
  1618. </div>
  1619. </div>
  1620. <a class="anchor" id="adf9e552212aad6fc2284da0ee62d04dc"></a>
  1621. <div class="memitem">
  1622. <div class="memproto">
  1623. <table class="mlabels">
  1624. <tr>
  1625. <td class="mlabels-left">
  1626. <table class="memname">
  1627. <tr>
  1628. <td class="memname">int StdioStream::putc </td>
  1629. <td>(</td>
  1630. <td class="paramtype">int&#160;</td>
  1631. <td class="paramname"><em>c</em></td><td>)</td>
  1632. <td></td>
  1633. </tr>
  1634. </table>
  1635. </td>
  1636. <td class="mlabels-right">
  1637. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1638. </tr>
  1639. </table>
  1640. </div><div class="memdoc">
  1641. <p>Write a byte to a stream.</p>
  1642. <p>putc and fputc are equivalent but putc is in-line so it is faster but require more flash memory.</p>
  1643. <dl class="params"><dt>Parameters</dt><dd>
  1644. <table class="params">
  1645. <tr><td class="paramdir">[in]</td><td class="paramname">c</td><td>the byte to be written (converted to an unsigned char).</td></tr>
  1646. </table>
  1647. </dd>
  1648. </dl>
  1649. <dl class="section return"><dt>Returns</dt><dd>Upon successful completion, <a class="el" href="class_stdio_stream.html#a9f23cfa6b112a5da6ae08340af23c57b">fputc()</a> returns the value it has written. Otherwise, it returns EOF and sets the error indicator for the stream. </dd></dl>
  1650. </div>
  1651. </div>
  1652. <a class="anchor" id="a09ccc4b6cabc3502c1052e85d94e84ef"></a>
  1653. <div class="memitem">
  1654. <div class="memproto">
  1655. <table class="mlabels">
  1656. <tr>
  1657. <td class="mlabels-left">
  1658. <table class="memname">
  1659. <tr>
  1660. <td class="memname">int StdioStream::putCRLF </td>
  1661. <td>(</td>
  1662. <td class="paramname"></td><td>)</td>
  1663. <td></td>
  1664. </tr>
  1665. </table>
  1666. </td>
  1667. <td class="mlabels-right">
  1668. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1669. </tr>
  1670. </table>
  1671. </div><div class="memdoc">
  1672. <p>Write a CR/LF.</p>
  1673. <dl class="section return"><dt>Returns</dt><dd>two, the number of bytes written, for success or -1 for failure. </dd></dl>
  1674. </div>
  1675. </div>
  1676. <a class="anchor" id="ad985866675193d2ee1dde9e27b0d08da"></a>
  1677. <div class="memitem">
  1678. <div class="memproto">
  1679. <table class="memname">
  1680. <tr>
  1681. <td class="memname">bool StdioStream::rewind </td>
  1682. <td>(</td>
  1683. <td class="paramname"></td><td>)</td>
  1684. <td></td>
  1685. </tr>
  1686. </table>
  1687. </div><div class="memdoc">
  1688. <p>Set position of a stream to the beginning.</p>
  1689. <p>The rewind function sets the file position to the beginning of the file. It is equivalent to fseek(0L, SEEK_SET) except that the error indicator for the stream is also cleared.</p>
  1690. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1691. </div>
  1692. </div>
  1693. <a class="anchor" id="ac00e0dd906c2e857ece53794c6c92786"></a>
  1694. <div class="memitem">
  1695. <div class="memproto">
  1696. <table class="memname">
  1697. <tr>
  1698. <td class="memname">int StdioStream::ungetc </td>
  1699. <td>(</td>
  1700. <td class="paramtype">int&#160;</td>
  1701. <td class="paramname"><em>c</em></td><td>)</td>
  1702. <td></td>
  1703. </tr>
  1704. </table>
  1705. </div><div class="memdoc">
  1706. <p>Push a byte back into an input stream.</p>
  1707. <dl class="params"><dt>Parameters</dt><dd>
  1708. <table class="params">
  1709. <tr><td class="paramdir">[in]</td><td class="paramname">c</td><td>the byte (converted to an unsigned char) to be pushed back.</td></tr>
  1710. </table>
  1711. </dd>
  1712. </dl>
  1713. <p>One character of push-back is guaranteed. If the ungetc function is called too many times without an intervening read or file positioning operation on that stream, the operation may fail.</p>
  1714. <p>A successful intervening call to a file positioning function (fseek, fsetpos, or rewind) discards any pushed-back characters for the stream.</p>
  1715. <dl class="section return"><dt>Returns</dt><dd>Upon successful completion, <a class="el" href="class_stdio_stream.html#ac00e0dd906c2e857ece53794c6c92786">ungetc()</a> returns the byte pushed back after conversion. Otherwise it returns EOF. </dd></dl>
  1716. </div>
  1717. </div>
  1718. <hr/>The documentation for this class was generated from the following files:<ul>
  1719. <li>Arduino/libraries/SdFat/src/FatLib/<a class="el" href="_stdio_stream_8h.html">StdioStream.h</a></li>
  1720. <li>Arduino/libraries/SdFat/src/FatLib/StdioStream.cpp</li>
  1721. </ul>
  1722. </div><!-- contents -->
  1723. <!-- start footer part -->
  1724. <hr class="footer"/><address class="footer"><small>
  1725. Generated on Fri Feb 12 2016 13:43:49 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  1726. <img class="footer" src="doxygen.png" alt="doxygen"/>
  1727. </a> 1.8.10
  1728. </small></address>
  1729. </body>
  1730. </html>