Misplaced Pages

rewind (C)

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

This is an old revision of this page, as edited by Yobot (talk | contribs) at 19:32, 28 June 2011 (WP:CHECKWIKI error fixes + general fixes (BRFA 16) using AWB (7778)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 19:32, 28 June 2011 by Yobot (talk | contribs) (WP:CHECKWIKI error fixes + general fixes (BRFA 16) using AWB (7778))(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
An editor has nominated this article for deletion.
You are welcome to participate in the deletion discussion, which will decide whether or not to retain it.Feel free to improve the article, but do not remove this notice before the discussion is closed. For more information, see the guide to deletion.
Find sources: "Rewind" C – news · newspapers · books · scholar · JSTOR%5B%5BWikipedia%3AArticles+for+deletion%2FRewind+%28C%29%5D%5DAFD

rewind is a function in the C programming language that is specified in the stdio.h library header file. 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.

rewind acts as if fseek(stream, 0L, SEEK_SET) was called for the stream passed, except that rewind causes the error indicator to also be cleared.

Syntax

#include <stdio.h>
void rewind( FILE *stream );

References

  1. , The Open Group Base Specifications Issue 7, IEEE Std 1003.1-2008.
Category: