delorie.com/archives/browse.cgi | search |
From: | "Alex Vinokur" <alexvn AT bigfoot DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: mktime() & time_t |
Date: | Tue, 21 May 2002 11:32:45 +0200 |
Organization: | Scopus |
Lines: | 24 |
Message-ID: | <acd0k2$obovm$1@ID-79865.news.dfncis.de> |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 1020521110056 DOT 6271A-100000 AT is> |
NNTP-Posting-Host: | gateway.scopus.net (62.90.123.5) |
X-Trace: | fu-berlin.de 1021969858 25551862 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 |
"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote in message news:Pine DOT SUN DOT 3 DOT 91 DOT 1020521110056 DOT 6271A-100000 AT is... | | On Tue, 21 May 2002, Alex Vinokur wrote: | | > However : May mktime() return -1 ? | | It's in the docs: mktime returns -1 if you feed it with time outside the | range of dates it can represent. But in this case mktime() returns UINT_MAX ( not -1 ) because time_t if of 'unsigned int' type. -- ==================== Alex Vinokur http://up.to/alexvn http://go.to/alexv_math mailto:alexvn AT bigfoot DOT com mailto:alexvn AT go DOT to ====================
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |