Misplaced Pages

Rewind (C): Difference between revisions

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.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 19:32, 28 June 2011 editYobot (talk | contribs)Bots4,733,870 editsm WP:CHECKWIKI error fixes + general fixes (BRFA 16) using AWB (7778)← Previous edit Revision as of 21:45, 5 July 2011 edit undoTParis (talk | contribs)Autopatrolled, Administrators30,360 edits Misplaced Pages:Articles for deletion/Rewind (C) closed as merge to stdio.hNext edit →
Line 1: Line 1:
{{afd-mergeto|stdio.h|Rewind (C)|05 July 2011}}
<!-- 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}} {{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> '''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>

Revision as of 21:45, 5 July 2011

This article was nominated for deletion. The discussion was closed on 05 July 2011 with a consensus to merge the content into the article stdio.h. If you find that such action has not been taken promptly, please consider assisting in the merger instead of re-nominating the article for deletion. To discuss the merger, please use the destination article's talk page. (July 2011)


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.
Categories: