| www.delorie.com/archives/browse.cgi | search |
| Date: | Wed, 13 Oct 1999 15:07:59 +0200 (IST) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| X-Sender: | eliz AT is |
| To: | Martin Stromberg <eplmst AT lu DOT erisoft DOT se> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: mktime implememtation problem |
| In-Reply-To: | <7u1ju9$fe2$2@antares.lu.erisoft.se> |
| Message-ID: | <Pine.SUN.3.91.991013150735.17959A-100000@is> |
| MIME-Version: | 1.0 |
| Reply-To: | djgpp AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
On 13 Oct 1999, Martin Stromberg wrote: > 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? The ANSI C Standard (a.k.a. C89).
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |