Quote:
Originally Posted by mastermax7777
1. who cares? i never used that function in 2 years
it doesnt return anything so how u gonna get its return value? just leave it.. doesnt matter
|
I care, but it doesn't matter who's caring. We can report bugs here and this is a bug right? Besides that, it does return something. You're probably looking at the Wiki, which says it returns nothing. That's probably put there because the writer assumed it returned nothing, but never tested it. (But I don't blame him.)
Quote:
Originally Posted by mastermax7777
2. new newpos = 50;
fseek(file, newpos, seek_start);
printf("file position = %i", newpos);
lol is it such a big deal tho? i dont think so..
|
Yes, that's a possibility, of course. But it makes this completely invalid and incorrect:
Quote:
Note: To get the current file position without changing it, set the position parameter to zero and whence to seek_current.
|
This is stated both on the
Wiki and in the Pawn File I/O manual.