Subject: Re: kern/6347
To: Gandhi woulda smacked you <greywolf@starwolf.com>
From: Assar Westerlund <assar@sics.se>
List: current-users
Date: 07/13/1999 19:27:43
Gandhi woulda smacked you <greywolf@starwolf.com> writes:
> [FWIW: Solaris 7 interprets time_t as unsigned, which extends years to
>  somewhere in 2100 or so...]

No.

datan:>grep time_t /usr/include/sys/types.h 
typedef long            time_t; /* time of day in seconds */
datan:>uname -a
SunOS datan 5.7 Generic sun4u sparc

But...

datan:>cc -o foo32 foo.c 
datan:>./foo32
sizeof(time_t) = 4
datan:>cc -xarch=v9 -o foo64 foo.c 
datan:>./foo64
sizeof(time_t) = 8

/assar