Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

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