Subversion Repositories Kolibri OS

Rev

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

  1. #include <stdio.h>
  2. int fgetpos(FILE* file,fpos_t* pos)
  3. {
  4.     if(!file || !pos)
  5.     {
  6.         errno = E_INVALIDPTR;
  7.         return EOF;
  8.     }
  9.  
  10.   *pos=file->filepos;
  11.  
  12.   return 0;
  13. }
  14.