Revision as of 17:28, 21 June 2011 editKinu (talk | contribs)Edit filter managers, Autopatrolled, Administrators65,034 edits Fix lead, formatting, reference inline.← Previous edit |
Latest revision as of 23:48, 27 April 2023 edit undoSteel1943 (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, Pending changes reviewers, Rollbackers, Template editors197,279 edits Rcat |
(6 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
|
|
#REDIRECT ] |
|
<!-- Please do not remove or change this AfD message until the issue is settled --> |
|
|
{{Article for deletion/dated|page=Rewind (C)|timestamp=20110621101919|year=2011|month=June|day=21|substed=yes|help=off}} |
|
|
<!-- For administrator use only: {{Old AfD multi|page=Rewind (C)|date=21 June 2011|result='''keep'''}} --> |
|
|
<!-- End of AfD message, feel free to edit beyond this point --> |
|
|
{{lowercase|title=rewind}} |
|
|
'''rewind''' is a function in the ] that is specified in the <code>]</code> library ]. The function moves the the file position indicator to the beginning of the specified stream, while also clearing the error and EOF flags associated with that stream.<ref name="rewind">, The Open Group Base Specifications Issue 7, IEEE Std 1003.1-2008.</ref> |
|
|
|
|
|
|
|
{{Redirect category shell| |
|
<code>rewind</code> acts as if <code>fseek(stream, 0L, SEEK_SET)</code> was called for the stream passed, except that <code>rewind</code> causes the error indicator to also be cleared. |
|
|
|
{{R with history}} |
|
==Syntax:== |
|
|
|
{{R to anchor}} |
|
<source lang="c"> |
|
|
|
}} |
|
#include <stdio.h> |
|
|
void rewind( FILE *stream ); |
|
|
</source> |
|
|
|
|
|
==References== |
|
|
{{reflist}} |
|
|
] |
|