fread() bug after using fseek()
#3

Quote:

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

Are you sure? The whence parameter have the default value seek_start.

Код:
native fseek(File: handle, position = 0, seek_whence: whence = seek_start);
But the problem is not seeking to the beginning.

Zuckerman
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)