OAR

RTEMS GNU Tools On-Line Library


rewind

PREV UP NEXT Bookshelf

3.31: rewind---reinitialize a file or stream

Synopsis

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

Description
rewind returns the file position indicator (if any) for the file or stream identified by fp to the beginning of the file. It also clears any error indicator and flushes any pending output.


Returns
rewind does not return a result.


Portability
ANSI C requires rewind.

No supporting OS subroutines are required.



PREV UP NEXT Bookshelf

Packaging copyright © 1988-2000 OAR Corporation
Context copyright by each document's author. See Free Software Foundation for information.