Bruce Momjian writes:

> OK, NetBSD added.
>
> Any other OS's need this?  Is it safe for me to code something that
> assumes fpos_t and off_t are identical?  I can't think of a good way to
> test if two data types are identical.  I don't think sizeof is enough.

No, you can't assume that fpos_t and off_t are identical.

But you can simulate a long fseeko() by calling fseek() multiple times, so
it should be possible to write a replacement that works on all systems.

-- 
Peter Eisentraut   [EMAIL PROTECTED]


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to