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