Revision as of 21:52, 5 July 2011 editSmackBot (talk | contribs)3,734,324 editsm Dated {{Afd-merge to}}. (Build p613)← Previous edit | Revision as of 20:56, 18 October 2011 edit undo1exec1 (talk | contribs)Pending changes reviewers, Rollbackers50,085 edits moved to wikibooksNext edit → | ||
Line 1: | Line 1: | ||
#redirect ] | |||
{{Afd-merge to|stdio.h|Rewind (C)|05 July 2011|date=July 2011}} | |||
{{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> | |||
<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. | |||
==Syntax== | |||
<source lang="c"> | |||
#include <stdio.h> | |||
void rewind( FILE *stream ); | |||
</source> | |||
==References== | |||
{{reflist}} | |||
{{Use dmy dates|date=July 2011}} | |||
] |
Revision as of 20:56, 18 October 2011
Redirect to: