Date: Tue, 21 May 2002 09:25:12 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Alex Vinokur cc: djgpp AT delorie DOT com Subject: Re: mktime() & time_t In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.