RFC: time_t declaration

Robert Millan rmh@debian.org
Thu, 2 Dec 2004 03:45:45 +0100


On Wed, Dec 01, 2004 at 06:08:47PM +0100, Bruno Haible wrote:
> Robert Millan wrote:
> > Well I checked that Glibc declares
> > time_t as "long int" on all linux-gnu platforms, which AFAIK is always
> > 32bit. Are 64bit linux-gnu ports screwed?
> 
> Nope. On all Unix platforms, "int" is always 32 bit, and "long int" is
> the same width as a "void *", namely 64-bit on 64-bit platforms.

Uhm.. excuse me I made the test in an x86_64 box that turned out to be running
ia32 userland (sigh).

-- 
 .''`.   Proudly running Debian GNU/kFreeBSD unstable/unreleased (on UFS2+S)
: :' :
`. `'    http://www.debian.org/ports/kfreebsd-gnu
  `-