fread() bug after using fseek()
#2

If you want to seek to the beginning, simple do:
fseek(file);
or fseek(file, 0, seek_current);
(which are actually the same)

I have noticed that fseek is always returning 0 altough it should return the new pos...
Reply


Messages In This Thread
fread() bug after using fseek() - by [OFK]Zuckerman - 31.07.2012, 22:36
Re: fread() bug after using fseek() - by Maxips2 - 01.08.2012, 11:50
Re: fread() bug after using fseek() - by [OFK]Zuckerman - 01.08.2012, 14:22
Re: fread() bug after using fseek() - by Maxips2 - 01.08.2012, 17:11
Re: fread() bug after using fseek() - by [OFK]Zuckerman - 01.08.2012, 18:10
Re: fread() bug after using fseek() - by [OFK]Zuckerman - 01.08.2012, 19:06

Forum Jump:


Users browsing this thread: 1 Guest(s)