delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/05/21/02:47:06

From: "Alex Vinokur" <alexvn AT bigfoot DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: mktime() & time_t
Date: Tue, 21 May 2002 09:31:09 +0200
Organization: Scopus
Lines: 25
Message-ID: <accpg3$nvj4o$1@ID-79865.news.dfncis.de>
References: <accohq$opji0$1 AT ID-79865 DOT news DOT dfncis DOT de> <200205210619 DOT g4L6JBG28168 AT envy DOT delorie DOT com>
NNTP-Posting-Host: gateway.scopus.net (62.90.123.5)
X-Trace: fu-berlin.de 1021962563 25152664 62.90.123.5 (16 [79865])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"DJ Delorie" <dj AT delorie DOT com> wrote in message news:200205210619 DOT g4L6JBG28168 AT envy DOT delorie DOT com...
|
| Compare like this:
|
| t = mktime(...);
| if (t == (time_t)(-1))
|   ...

Thanks.

However : May mktime() return -1 ?


--
====================
  Alex Vinokur
    http://up.to/alexvn
    http://go.to/alexv_math
    mailto:alexvn AT bigfoot DOT com
    mailto:alexvn AT go DOT to
  ====================



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019