[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: projected life of the ext2 filesystem format



> Well, since the time function is documented as returning -1 on errors,
> that pretty much rules out time_t being unsigned.

Nope.

time_t result = time(NULL);
if (result == (time_t)(-1)) { ...error...}

                                          Brian
                                 ( bcwhite@verisim.com )

-------------------------------------------------------------------------------
 The squeaky wheel doesn't always get the grease.  Sometimes it gets replaced.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: