blob: 73be1f578d60e80f7089b0d4d0beb739f1957bd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <stdio.h>
/** reset file position indicator **/
void rewind(FILE *stream)
{
fseek(stream, 0L, SEEK_SET);
clearerr(stream);
}
/***
sets the file position indicator of ARGUMENT(stream) to the
beginning of the file. The error indicator will be cleared.
***/
/*
STDC(1)
*/
|