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 - javascript - write to the webpage
programming:c:function isupper
X Windows Structures - XKeyEvent
programming - C - function strnpos
programming - windows - GetWindowLong
programming - javascript - event handlers
programming - C - struct stat
X Windows Structures - XButtonEvent
programming:c:format string flags
programming:c:function feof
filename:programming - C - function rewind
filename:programming%20%2D%20C%20%2D%20function%20rewind
last edit:December 18 2012 19:08:32 (4896 days ago)
ct = 1778964177.000000 = May 16 2026 16:42:57
ft = 1355875712.000000 = December 18 2012 19:08:32
dt = 423088465.000000