Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. #include "stdio.h"
  2. int fsetpos(FILE* file,const fpos_t * pos)
  3. {
  4.         if (*pos>=0)
  5.         {
  6.                 file->filepos=*pos;
  7.                 return 0;
  8.         }
  9.         else
  10.                 return EOF;
  11. }