On Tue, Jun 26, 2001 at 06:06:59AM -0700, Marc van Woerkom wrote:
> Oh yes, and I used fpos_t in all parts of libdvdread,
> that were used for seeking.
> Is this ugly, should better use the uint64 type
> burried deep with the machine dependent headers?
> What is good coding practice here?

For seeking, use off_t.  It is a 64-bit signed integer.
If you need real 64-bit offsets (unsigned), then you
might use uoff_t; but off_t should be enough, and it *is*
the standard type for seek offsets.

G'luck,
Peter

-- 
Thit sentence is not self-referential because "thit" is not a word.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to