|
From: Nicholas N. <nj...@cs...> - 2005-10-02 21:17:12
|
On Fri, 30 Sep 2005, Greg Parker wrote: >> I think OffT should stay as word-sized, since it's meant to be a drop-in >> replacement for off_t which is word-sized. We could introduce LOffT (in >> pub_core_basics.h) which would be 64 bits. > > Note that some 32-bit platforms like Darwin and maybe FreeBSD > use a 64-bit off_t. Huh, interesting. Well, we use vki_off_t in syscall wrappers, and that definition comes from the appropriate vki-*.h header. OffT is more for our internal use, so hopefully it won't be a problem. I like the idea of SizeT and OffT being the same size. Nick |