Re: projected life of the ext2 filesystem format
In article <Pine.A188.8.131.520129115217.42428Aemail@example.com>,
Scott Ellis <firstname.lastname@example.org> wrote:
>Well, since the time function is documented as returning -1 on errors,
>that pretty much rules out time_t being unsigned.
> On success, the value of time in seconds since the Epoch
> is returned. On error, ((time_t)-1) is returned, and
> errno is set appropriately.
Note that there's an explicit cast to time_t. It is not nessecarily
true that (time_t)-1 == (int)-1. It could be true that
(time_t)-1 == (unsigned int)-1
Miquel van Smoorenburg | The dyslexic, agnostic, insomniac lay in his bed
email@example.com | awake all night wondering if there is a doG
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .