struct timeval: why is tv_sec long?

Peter Jeremy PeterJeremy at optushome.com.au
Fri Oct 7 13:54:26 PDT 2005


On Fri, 2005-Oct-07 20:17:43 +0200, Andreas Kohn wrote:
>As SUSv2 wants tv_sec to be time_t[1], would it be possible to change
>this to time_t on all but alpha? I guess alpha will not receive a switch
>to long anymore[2]. 

tv_sec and time_t are int on Alpha for compatability with Tru64.  Since
the Alpha is now a dead architecture and no longer a tier-1 FreeBSD
platform, it's unlikely anyone will expend the effort to change them.

-- 
Peter Jeremy


More information about the freebsd-hackers mailing list