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.

_stdio_stream_8h.html 14KB

il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.16"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>SdFat: ArduinoSdFat/libraries/SdFat/src/iostream/StdioStream.h File Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">SdFat
  25. </div>
  26. </td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </div>
  31. <!-- end header part -->
  32. <!-- Generated by Doxygen 1.8.16 -->
  33. <script type="text/javascript">
  34. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. /* @license-end */
  37. </script>
  38. <script type="text/javascript" src="menudata.js"></script>
  39. <script type="text/javascript" src="menu.js"></script>
  40. <script type="text/javascript">
  41. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  42. $(function() {
  43. initMenu('',true,false,'search.php','Search');
  44. $(document).ready(function() { init_search(); });
  45. });
  46. /* @license-end */</script>
  47. <div id="main-nav"></div>
  48. <!-- window showing the filter options -->
  49. <div id="MSearchSelectWindow"
  50. onmouseover="return searchBox.OnSearchSelectShow()"
  51. onmouseout="return searchBox.OnSearchSelectHide()"
  52. onkeydown="return searchBox.OnSearchSelectKey(event)">
  53. </div>
  54. <!-- iframe showing the search results (closed by default) -->
  55. <div id="MSearchResultsWindow">
  56. <iframe src="javascript:void(0)" frameborder="0"
  57. name="MSearchResults" id="MSearchResults">
  58. </iframe>
  59. </div>
  60. <div id="nav-path" class="navpath">
  61. <ul>
  62. <li class="navelem"><a class="el" href="dir_bd3b508a448b79faa7486a2af0c5c4a2.html">ArduinoSdFat</a></li><li class="navelem"><a class="el" href="dir_d7cdc5eb6907b67ec8d6facf0ac28083.html">libraries</a></li><li class="navelem"><a class="el" href="dir_30f4e013e11264f0426cd7e4f10b230b.html">SdFat</a></li><li class="navelem"><a class="el" href="dir_ffa9b8a1695a52c2b9469cb7873a40f4.html">src</a></li><li class="navelem"><a class="el" href="dir_09d9bf72d5872b2c36537aadcb44fe1d.html">iostream</a></li> </ul>
  63. </div>
  64. </div><!-- top -->
  65. <div class="header">
  66. <div class="summary">
  67. <a href="#nested-classes">Classes</a> &#124;
  68. <a href="#define-members">Macros</a> &#124;
  69. <a href="#var-members">Variables</a> </div>
  70. <div class="headertitle">
  71. <div class="title">StdioStream.h File Reference</div> </div>
  72. </div><!--header-->
  73. <div class="contents">
  74. <p><a class="el" href="class_stdio_stream.html" title="StdioStream implements a minimal stdio stream.">StdioStream</a> class.
  75. <a href="#details">More...</a></p>
  76. <div class="textblock"><code>#include &lt;limits.h&gt;</code><br />
  77. <code>#include &quot;<a class="el" href="ios_8h.html">ios.h</a>&quot;</code><br />
  78. <code>#include &lt;stdio.h&gt;</code><br />
  79. </div><div class="textblock"><div class="dynheader">
  80. Include dependency graph for StdioStream.h:</div>
  81. <div class="dyncontent">
  82. <div class="center"><img src="_stdio_stream_8h__incl.png" border="0" usemap="#_arduino_sd_fat_2libraries_2_sd_fat_2src_2iostream_2_stdio_stream_8h" alt=""/></div>
  83. <map name="_arduino_sd_fat_2libraries_2_sd_fat_2src_2iostream_2_stdio_stream_8h" id="_arduino_sd_fat_2libraries_2_sd_fat_2src_2iostream_2_stdio_stream_8h">
  84. <area shape="rect" title="StdioStream class." alt="" coords="7,5,231,47"/>
  85. <area shape="rect" title=" " alt="" coords="5,95,69,121"/>
  86. <area shape="rect" href="ios_8h.html" title="ios_base and ios classes" alt="" coords="93,95,144,121"/>
  87. <area shape="rect" title=" " alt="" coords="168,95,229,121"/>
  88. <area shape="rect" href="_fs_lib_8h.html" title="FsLib include file." alt="" coords="62,169,175,196"/>
  89. <area shape="rect" href="_fs_volume_8h.html" title="FsVolume include file." alt="" coords="21,244,113,271"/>
  90. <area shape="rect" href="_fs_file_8h.html" title="FsBaseFile include file." alt="" coords="137,244,207,271"/>
  91. </map>
  92. </div>
  93. </div><div class="textblock"><div class="dynheader">
  94. This graph shows which files directly or indirectly include this file:</div>
  95. <div class="dyncontent">
  96. <div class="center"><img src="_stdio_stream_8h__dep__incl.png" border="0" usemap="#_arduino_sd_fat_2libraries_2_sd_fat_2src_2iostream_2_stdio_stream_8hdep" alt=""/></div>
  97. <map name="_arduino_sd_fat_2libraries_2_sd_fat_2src_2iostream_2_stdio_stream_8hdep" id="_arduino_sd_fat_2libraries_2_sd_fat_2src_2iostream_2_stdio_stream_8hdep">
  98. <area shape="rect" title="StdioStream class." alt="" coords="5,5,229,47"/>
  99. <area shape="rect" href="sdios_8h.html" title="C++ IO Streams features." alt="" coords="42,95,193,136"/>
  100. </map>
  101. </div>
  102. </div><table class="memberdecls">
  103. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  104. Classes</h2></td></tr>
  105. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stdio_stream.html">StdioStream</a></td></tr>
  106. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_stdio_stream.html" title="StdioStream implements a minimal stdio stream.">StdioStream</a> implements a minimal stdio stream. <a href="class_stdio_stream.html#details">More...</a><br /></td></tr>
  107. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. </table><table class="memberdecls">
  109. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
  110. Macros</h2></td></tr>
  111. <tr class="memitem:a59adc4c82490d23754cd39c2fb99b0da"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_stdio_stream_8h.html#a59adc4c82490d23754cd39c2fb99b0da">EOF</a>&#160;&#160;&#160;(-1)</td></tr>
  112. <tr class="separator:a59adc4c82490d23754cd39c2fb99b0da"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:a070d2ce7b6bb7e5c05602aa8c308d0c4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_stdio_stream_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>&#160;&#160;&#160;0</td></tr>
  114. <tr class="separator:a070d2ce7b6bb7e5c05602aa8c308d0c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:a4c8d0b76b470ba65a43ca46a88320f39"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_stdio_stream_8h.html#a4c8d0b76b470ba65a43ca46a88320f39">SEEK_CUR</a>&#160;&#160;&#160;1</td></tr>
  116. <tr class="separator:a4c8d0b76b470ba65a43ca46a88320f39"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:ad2a2e6c114780c3071efd24f16c7f7d8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_stdio_stream_8h.html#ad2a2e6c114780c3071efd24f16c7f7d8">SEEK_END</a>&#160;&#160;&#160;2</td></tr>
  118. <tr class="separator:ad2a2e6c114780c3071efd24f16c7f7d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:a0d112bae8fd35be772185b6ec6bcbe64"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_stdio_stream_8h.html#a0d112bae8fd35be772185b6ec6bcbe64">SEEK_SET</a>&#160;&#160;&#160;0</td></tr>
  120. <tr class="separator:a0d112bae8fd35be772185b6ec6bcbe64"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. </table><table class="memberdecls">
  122. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
  123. Variables</h2></td></tr>
  124. <tr class="memitem:ad9a6150ef11e2616c1a99bc777df17d3"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_stdio_stream_8h.html#ad9a6150ef11e2616c1a99bc777df17d3">STREAM_BUF_SIZE</a> = 64</td></tr>
  125. <tr class="separator:ad9a6150ef11e2616c1a99bc777df17d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:a785dd413c0d7b05f95df82d3453ecacd"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_stdio_stream_8h.html#a785dd413c0d7b05f95df82d3453ecacd">UNGETC_BUF_SIZE</a> = 2</td></tr>
  127. <tr class="separator:a785dd413c0d7b05f95df82d3453ecacd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. </table>
  129. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  130. <div class="textblock"><p><a class="el" href="class_stdio_stream.html" title="StdioStream implements a minimal stdio stream.">StdioStream</a> class. </p>
  131. <p>Copyright (c) 2011-2019 Bill Greiman This file is part of the SdFat library for SD memory cards.</p>
  132. <p>MIT License</p>
  133. <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
  134. <p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
  135. <p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. </p>
  136. </div><h2 class="groupheader">Macro Definition Documentation</h2>
  137. <a id="a59adc4c82490d23754cd39c2fb99b0da"></a>
  138. <h2 class="memtitle"><span class="permalink"><a href="#a59adc4c82490d23754cd39c2fb99b0da">&#9670;&nbsp;</a></span>EOF</h2>
  139. <div class="memitem">
  140. <div class="memproto">
  141. <table class="memname">
  142. <tr>
  143. <td class="memname">#define EOF&#160;&#160;&#160;(-1)</td>
  144. </tr>
  145. </table>
  146. </div><div class="memdoc">
  147. <p>End-of-file return value. </p>
  148. </div>
  149. </div>
  150. <a id="a070d2ce7b6bb7e5c05602aa8c308d0c4"></a>
  151. <h2 class="memtitle"><span class="permalink"><a href="#a070d2ce7b6bb7e5c05602aa8c308d0c4">&#9670;&nbsp;</a></span>NULL</h2>
  152. <div class="memitem">
  153. <div class="memproto">
  154. <table class="memname">
  155. <tr>
  156. <td class="memname">#define NULL&#160;&#160;&#160;0</td>
  157. </tr>
  158. </table>
  159. </div><div class="memdoc">
  160. <p>Null pointer </p>
  161. </div>
  162. </div>
  163. <a id="a4c8d0b76b470ba65a43ca46a88320f39"></a>
  164. <h2 class="memtitle"><span class="permalink"><a href="#a4c8d0b76b470ba65a43ca46a88320f39">&#9670;&nbsp;</a></span>SEEK_CUR</h2>
  165. <div class="memitem">
  166. <div class="memproto">
  167. <table class="memname">
  168. <tr>
  169. <td class="memname">#define SEEK_CUR&#160;&#160;&#160;1</td>
  170. </tr>
  171. </table>
  172. </div><div class="memdoc">
  173. <p>Seek relative to current position. </p>
  174. </div>
  175. </div>
  176. <a id="ad2a2e6c114780c3071efd24f16c7f7d8"></a>
  177. <h2 class="memtitle"><span class="permalink"><a href="#ad2a2e6c114780c3071efd24f16c7f7d8">&#9670;&nbsp;</a></span>SEEK_END</h2>
  178. <div class="memitem">
  179. <div class="memproto">
  180. <table class="memname">
  181. <tr>
  182. <td class="memname">#define SEEK_END&#160;&#160;&#160;2</td>
  183. </tr>
  184. </table>
  185. </div><div class="memdoc">
  186. <p>Seek relative to end-of-file. </p>
  187. </div>
  188. </div>
  189. <a id="a0d112bae8fd35be772185b6ec6bcbe64"></a>
  190. <h2 class="memtitle"><span class="permalink"><a href="#a0d112bae8fd35be772185b6ec6bcbe64">&#9670;&nbsp;</a></span>SEEK_SET</h2>
  191. <div class="memitem">
  192. <div class="memproto">
  193. <table class="memname">
  194. <tr>
  195. <td class="memname">#define SEEK_SET&#160;&#160;&#160;0</td>
  196. </tr>
  197. </table>
  198. </div><div class="memdoc">
  199. <p>Seek relative to start-of-file. </p>
  200. </div>
  201. </div>
  202. <h2 class="groupheader">Variable Documentation</h2>
  203. <a id="ad9a6150ef11e2616c1a99bc777df17d3"></a>
  204. <h2 class="memtitle"><span class="permalink"><a href="#ad9a6150ef11e2616c1a99bc777df17d3">&#9670;&nbsp;</a></span>STREAM_BUF_SIZE</h2>
  205. <div class="memitem">
  206. <div class="memproto">
  207. <table class="memname">
  208. <tr>
  209. <td class="memname">const uint8_t STREAM_BUF_SIZE = 64</td>
  210. </tr>
  211. </table>
  212. </div><div class="memdoc">
  213. <p>Total size of stream buffer. The entire buffer is used for output. During input UNGETC_BUF_SIZE of this space is reserved for ungetc. </p>
  214. </div>
  215. </div>
  216. <a id="a785dd413c0d7b05f95df82d3453ecacd"></a>
  217. <h2 class="memtitle"><span class="permalink"><a href="#a785dd413c0d7b05f95df82d3453ecacd">&#9670;&nbsp;</a></span>UNGETC_BUF_SIZE</h2>
  218. <div class="memitem">
  219. <div class="memproto">
  220. <table class="memname">
  221. <tr>
  222. <td class="memname">const uint8_t UNGETC_BUF_SIZE = 2</td>
  223. </tr>
  224. </table>
  225. </div><div class="memdoc">
  226. <p>Amount of buffer allocated for ungetc during input. </p>
  227. </div>
  228. </div>
  229. </div><!-- contents -->
  230. <!-- start footer part -->
  231. <hr class="footer"/><address class="footer"><small>
  232. Generated on Fri Dec 6 2019 09:45:12 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  233. <img class="footer" src="doxygen.png" alt="doxygen"/>
  234. </a> 1.8.16
  235. </small></address>
  236. </body>
  237. </html>