www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/13/06:59:18

From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: mktime implememtation problem
Date: 13 Oct 1999 09:38:17 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 13
Message-ID: <7u1ju9$fe2$2@antares.lu.erisoft.se>
References: <3803A628 DOT 92B59B8B AT earthlink DOT net>
NNTP-Posting-Host: propus-144.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Martin Ambuhl (mambuhl AT earthlink DOT net) wrote:
: The standard requires of mktime that "the original values of tm_wday and
: rm_yday components of the structure are ignored."  I have discovered
: that if I do not set these components to possibly legal values, mktime
: returns (time_t)-1, meaning that it fails.  Will this be corrected, or
: do I just live with it?

Which standard?


Right,

							MartinS

- Raw text -


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