Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2001 23:49:41 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        des@ofug.org
Cc:        arch@FreeBSD.org
Subject:   Re: 64 bit times revisited..
Message-ID:  <200110270349.f9R3nf678020@khavrinen.lcs.mit.edu>
In-Reply-To: <xzpwv1hq2ck.fsf@flood.ping.uio.no>
References:  <200110270133.f9R1Xnv06295@mass.dis.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <xzpwv1hq2ck.fsf@flood.ping.uio.no> you write:
>Chapter and verse, please.  Not just a repetition of what somebody
>else says may or may not be in C90.

Cheap shot.  See C90 defect report #67,
<http://wwwold.dkuug.dk/JTC1/SC22/WG14/www/docs/dr_067.html>.
Although neither time_t nor ``arithmetic type'' is not explicitly
mentioned in the defect report, the answers to Clive Feather's final
two questions apply.

time_t is defined by POSIX as representing times in seconds.  (See XBD
under <sys/types.h>.)  Some interfaces are defined to use relative
times measured in seconds (or smaller units when `struct timespec' is
used); other interfaces are defined to use Seconds Since the Epoch
(see XBD under the definition thereof).

-GAWollman

-- 
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110270349.f9R3nf678020>