up: programming - C - File I/O  
programming - C - function rewindWhat links here?

prototype

void rewind(FILE* stream)


description

Repositions the file pointer to the beginning of a stream. Sets the file pointer associated with the stream to the beginning of the file.

A call to rewind is equivalent to:
fseek ( stream , 0L , SEEK_SET );
except that unlike fseek, using rewind the error indicator is cleared.

The next operation with the stream after a call to fseek can be either for input or output.

This function is also useful for clearing the keyboard buffer (normally associated with stdin).

parameters

programming - C - function rewind
programming - C - function _makepath
programming:windows:WM_NCCALCSIZE
programming - C - function putc(int char, FILE* stream)
filename:programming - C - function rewind
filename:programming%20%2D%20C%20%2D%20function%20rewind
last edit:December 18 2012 19:08:32 (4595 days ago)
ct = 1752884265.000000 = July 18 2025 20:17:45
ft = 1355875712.000000 = December 18 2012 19:08:32
dt = 397008553.000000