Subversion Repositories Kolibri OS

Rev

Rev 300 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
324 serge 1
 
2
#include "kolibc.h"
300 serge 3
324 serge 4
 
300 serge 5
{
6
        if (origin==SEEK_CUR)
324 serge 7
                offset+=file->filepos+file->strpos;
8
        else if (origin==SEEK_END)
9
                offset+=file->filesize;
10
        else if (origin!=SEEK_SET)
11
                return EOF;
12
13
 
14
}
15