Functions HI-TECH C REWIND
REWIND
SYNOPSIS
#include <stdio.h> int rewind(FILE * stream)
DESCRIPTION
This function will attempt to re-position the read/write pointer of the nominated stream to the beginning of the file. A return value of -1 indicates that the attempt was not successful, perhaps because the stream is associated with a non-random access file such as a character device.
SEE ALSO
fseek, ftell