REWIND - rewind a file.

(ANSI Standard)

Usage:

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

Where:

FILE *f;
points to the file to be rewound.

Description:

"rewind" adjusts the specified file so that the next I/O operation will take place at the beginning of the file. "rewind" is equivalent to

fseek(f,0L,SEEK_SET);

See Also:

expl c lib fseek

Copyright © 1996, Thinkage Ltd.