mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-19 13:23:27 +03:00
51d395d0cc
git-svn-id: svn://kolibrios.org@145 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;
|
|
} |