delorie.com/archives/browse.cgi | search |
Date: | Tue, 21 May 2002 09:25:12 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | Alex Vinokur <alexvn AT bigfoot DOT com> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: mktime() & time_t |
In-Reply-To: | <accohq$opji0$1@ID-79865.news.dfncis.de> |
Message-ID: | <Pine.SUN.3.91.1020521092424.4513D-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Tue, 21 May 2002, Alex Vinokur wrote: > According to manual the mktime() function may return -1. > On other hand time_t is unsigned int. > > Is it consistent ? Yes (you just get 0xffffffff). Use (time_t)-1 for comparisons.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |