mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-21 06:12:34 +03:00
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;
|
|
} |