◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ─────Run-Time Library─────────────────────────────────────────────────────── The rewind function repositions the file pointer associated with <stream> to the beginning of the file. A call to rewind is equivalent to (void) fseek( stream, 0L, SEEK_SET ); except that rewind clears the end-of-file and error indicators for the stream, and fseek does not. Both rewind and fseek clear the end-of-file indicator. Also, fseek returns a value that indicates whether the pointer was successfully moved, but rewind does not return any value. You can also use the rewind function to clear the keyboard buffer. Use the rewind function with the stdin stream, which is associated with the keyboard by default. Return Value None. -♦-