Rev 300 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
#include "kolibc.h"
{
if (origin==SEEK_CUR)
offset+=file->filepos+file->strpos;
else if (origin==SEEK_END)
offset+=file->filesize;
else if (origin!=SEEK_SET)
return EOF;
}