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
tk - tk_label
programming:windows:WM_COMMAND
tk:tk_label
programming - C - function fseek
programming:c:gmtime
programming:c:time
programming - C - type time_t
programming - windows - windows
programming:windows:window value offsets
programming - C - function strtok
programming - C - function ftell
programming - windows - WM_CREATE
Time internal format
filename:programming - C - function rewind
filename:programming%20%2D%20C%20%2D%20function%20rewind
last edit:December 18 2012 19:08:32 (4651 days ago)
ct = 1757737957.000000 = September 13 2025 00:32:37
ft = 1355875712.000000 = December 18 2012 19:08:32
dt = 401862245.000000