forked from KolibriOS/kolibrios
efd8f1922c
git-svn-id: svn://kolibrios.org@5266 a494cfbc-eb01-0410-851d-a64ba20cac60
11 lines
151 B
C
11 lines
151 B
C
#include <stdio.h>
|
|
int fsetpos(FILE* file,const fpos_t * pos)
|
|
{
|
|
if (*pos>=0)
|
|
{
|
|
file->filepos=*pos;
|
|
return 0;
|
|
}
|
|
else
|
|
return EOF;
|
|
} |