Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Aug 1998 00:06:05 -0400
From:      Matthew Hunt <mph@pobox.com>
To:        Ivan Brawley <brawley@camtech.com.au>, hackers@FreeBSD.ORG
Subject:   Re: 64-bit time_t
Message-ID:  <19980814000605.A25012@astro.psu.edu>
In-Reply-To: <199808140040.KAA14156@mad.ct>; from Ivan Brawley on Fri, Aug 14, 1998 at 10:10:02AM %2B0930
References:  <199808131721.KAA00864@antipodes.cdrom.com> <199808140040.KAA14156@mad.ct>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 14, 1998 at 10:10:02AM +0930, Ivan Brawley wrote:

> Question: What is wrong with using an unsigned long for time_t, instead of
> long (which is then assumed signed).

man 3 time:

     Upon successful completion, time() returns the value of time.  Otherwise
     a value of ((time_t) -1) is returned and the global variable errno is set
     to indicate the error.

-- 
Matthew Hunt <mph@pobox.com> * Inertia is a property of matter.
http://www.pobox.com/~mph/pgp.key for PGP public key 0x67203349.

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



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