On 11/13/05, Luigi Rizzo <rizzo_at_icir.org> wrote: > on freebsd 5.x and above, the tv_sec field of struct timeval > has type 'long' (defined here: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/_timeval.h > > whereas apparently most platform have it as time_t, and i believe > there are standards that require that: > > http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/time.h.html > > Any reason to keep it as a 'long' ? A quick google search indicates that the only reason is to be compatible with Tru64 on Alpha.[1] [1] http://lists.freebsd.org/pipermail/freebsd-hackers/2005-October/013956.html Cheers, -- Xin LI <delphij_at_delphij.net> http://www.delphij.netReceived on Sat Nov 12 2005 - 18:21:44 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:47 UTC