forked from KolibriOS/kolibrios
e08c6968ef
git-svn-id: svn://kolibrios.org@9558 a494cfbc-eb01-0410-851d-a64ba20cac60
13 lines
175 B
C
13 lines
175 B
C
#include <stdio.h>
|
|
void rewind(FILE* file)
|
|
{
|
|
if(!file)
|
|
{
|
|
errno = E_INVALIDPTR;
|
|
return;
|
|
}
|
|
|
|
file->ungetc_buf = EOF;
|
|
file->filepos=0;
|
|
}
|