Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Is there anyone who has fseeko() but _not_ fsetpos()?
>
> AFAICT this is completely irrelevant to large files.
Please explain. At:
http://man.dnswatch.com/cgi-bin/htmlman?fseek+3
I see:
The fseeko() function is identical to fseek(), except it takes an off_t argument instead of a long. Likewise,
theftello() function is identical to ftell(), except it returns an off_t.
while fsetpos() is:
fsetpos(FILE *stream, const fpos_t *pos);
and presumably fpos_t handles long files too.
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square,
Pennsylvania19073