mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-01 04:57:03 +03:00
524cab3cd8
git-svn-id: svn://kolibrios.org@7184 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;
|
|
}
|