Regards,
--
Martin Jul (marti...@yr.dk)
Young & Rubicam Interactive
>Does anyone know how fast a fseek call is?
Fast enough.
> If you're fseek'ing in a
>large file, does the operating system read all data from the current
>position to point you're fseek'ing to, or does it apply some clever
>algorithm to jump right to the desired location?
FSEEK just updates some pointers. No data is read. That's how you do
sparse files.
> Does fseek use
>constant, logarithmic or linear time?
FSEEK, for all practical purposes, always runs in constant time.
-- David