K 10 svn:author V 4 ache K 8 svn:date V 27 2001-09-03T04:30:46.000000Z K 7 svn:log V 450 File positions are off_t nowdays, not long, so: fseek -> fseeko ftell -> ftello fseek(x, 0L, 0) -> rewind(x) NOTE: that fseek/ftell not works for >long offsets per POSIX: [EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long. [EOVERFLOW] For ftell ( ), the current file offset cannot be represented correctly in an object of type long. END