>> the ftello
>> substitute needs to worry about overflow only on hosts where long int
>> is wider than off_t. But I don't know of any such hosts and don't
>> expect that there will ever be any.
>
> Too late, Windows is one.
I assume you're talking about IA-64 Windows. But as I understand it,
long int is 32 bits on that platform, and off_t is 64 bits, so it's
not a problem.
The ftello substitute doesn't need to do anything special if long int
is narrower than off_t. It needs to worry only if long int is wider
than off_t.