64 bit time_t in 32 bit ABI?

Warner Losh imp at bsdimp.com
Fri Apr 29 19:27:35 UTC 2011


I thought we made all new architectures adopt a 32-bit time_t and that's why it is this way.

Warner

On Apr 29, 2011, at 11:36 AM, Jayachandran C. wrote:

> In sys/mips/include/_types.h, I see
> 
> | 119 typedef __int64_t       __time_t;               /* time()... */
> 
> Which as far as I can see, is not right for the 32-bit ABIs. But this
> definition has been there for a long time, so I would like to know if
> there is any reason for this?
> 
> Since this is a user-visible type, changing it would break binary compatibility.
> 
> Thanks,
> JC.
> 
> 



More information about the freebsd-mips mailing list