On Tue, Nov 20, 2001 at 08:51:58AM +0200, Schlomo Schapiro wrote:
> I actually meant functions like ftell which return the position. If the
> function returns a 64bit integer but the programmer uses a 32bit integer
> this shouldn't work -- unless the compiler silently upgrades all 32bit
> integers ?

     The programmer should use off_t as an offset type, not directly declare 
a long variable. off_t's size is changed according to the interface you use.
But yes, if a programmer explicitly uses a long offset, then he's screwed.

        Regards, Yotam Rubin

> 
> Schlomo
> 

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to