diff options
Diffstat (limited to 'devdocs/c/io%2Ffpos_t.html')
| -rw-r--r-- | devdocs/c/io%2Ffpos_t.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/devdocs/c/io%2Ffpos_t.html b/devdocs/c/io%2Ffpos_t.html new file mode 100644 index 00000000..7bbe71bb --- /dev/null +++ b/devdocs/c/io%2Ffpos_t.html @@ -0,0 +1,37 @@ + <h1 id="firstHeading" class="firstHeading">fpos_t</h1> <table class="t-dcl-begin"> <tr class="t-dsc-header"> <th> Defined in header <code><stdio.h></code> </th> <th> </th> <th> </th> </tr> <tr class="t-dcl"> <td class="t-dcl-nopad"> <pre data-language="c">typedef /* implementation-defined */ fpos_t;</pre> +</td> <td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> </table> <p><code>fpos_t</code> is a non-array complete object type, can be used to store (by <code><a href="fgetpos" title="c/io/fgetpos">fgetpos</a></code>) and restore (by <code><a href="fsetpos" title="c/io/fsetpos">fsetpos</a></code>) the position and multibyte parser state (if any) for a C stream.</p> +<table class="t-rev-begin"> <tr class="t-rev t-since-c95"> +<td> <p>The multibyte parser state of a wide-oriented C stream is represented by a <code><a href="../string/multibyte/mbstate_t" title="c/string/multibyte/mbstate t">mbstate_t</a></code> object, whose value is stored as part of the value of a <code>fpos_t</code> object by <code><a href="fgetpos" title="c/io/fgetpos">fgetpos</a></code>.</p> +</td> <td><span class="t-mark-rev t-since-c95">(since C95)</span></td> +</tr> </table> <h3 id="References"> References</h3> <ul> +<li> C17 standard (ISO/IEC 9899:2018): </li> +<ul> +<li> 7.21.1 Introduction (p: 217-218) </li> +<li> 7.21.2 Streams (p: 218-219) </li> +</ul> +<li> C11 standard (ISO/IEC 9899:2011): </li> +<ul> +<li> 7.21.1 Introduction (p: 296-298) </li> +<li> 7.21.2 Streams (p: 298-299) </li> +</ul> +<li> C99 standard (ISO/IEC 9899:1999): </li> +<ul> +<li> 7.19.1 Introduction (p: 262-264) </li> +<li> 7.19.2 Streams (p: 264-265) </li> +</ul> +<li> C89/C90 standard (ISO/IEC 9899:1990): </li> +<ul> +<li> 4.9.1 Introduction </li> +<li> 4.9.2 Streams </li> +</ul> +</ul> <h3 id="See_also"> See also</h3> <table class="t-dsc-begin"> <tr class="t-dsc"> <td> <div><a href="fgetpos" title="c/io/fgetpos"> <span class="t-lines"><span>fgetpos</span></span></a></div> </td> <td> gets the file position indicator <br> <span class="t-mark">(function)</span> </td> +</tr> <tr class="t-dsc"> <td> <div><a href="fsetpos" title="c/io/fsetpos"> <span class="t-lines"><span>fsetpos</span></span></a></div> </td> <td> moves the file position indicator to a specific location in a file <br> <span class="t-mark">(function)</span> </td> +</tr> <tr class="t-dsc"> <td> <div><a href="../string/multibyte/mbstate_t" title="c/string/multibyte/mbstate t"> <span class="t-lines"><span>mbstate_t</span></span></a></div> +<div><span class="t-lines"><span><span class="t-mark-rev t-since-c95">(C95)</span></span></span></div> </td> <td> conversion state information necessary to iterate multibyte character strings <br> <span class="t-mark">(class)</span> </td> +</tr> <tr class="t-dsc"> <td colspan="2"> <span><a href="https://en.cppreference.com/w/cpp/io/c/fpos_t" title="cpp/io/c/fpos t">C++ documentation</a></span> for <code>fpos_t</code> </td> +</tr> </table> <div class="_attribution"> + <p class="_attribution-p"> + © cppreference.com<br>Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.<br> + <a href="https://en.cppreference.com/w/c/io/fpos_t" class="_attribution-link">https://en.cppreference.com/w/c/io/fpos_t</a> + </p> +</div> |
