Article View: comp.std.c
Article #2156Re: Change to time() fn?
From: Mark Brader
Date: Tue, 29 Sep 1992 22:24
Date: Tue, 29 Sep 1992 22:24
11 lines
951 bytes
951 bytes
> Unfortunately, in order to allow for implementations that have no clock, the > Standard requires that |time()| be able to return the constant |(time_t)-1| > to indicate failure. Hence, |time_t| must be an arithmetic type. The Standard explicitly requires time_t to be an arithmetic type. Section 4.12.1 (ANSI; 7.12.1 in ISO numbering). -- Mark Brader, Toronto "Mark is probably right about something, utzoo!sq!msb, msb@sq.com but I forget what" -- Rayan Zachariassen This article is in the public domain.
Technical Details
Message-ID:
<1992Sep29.222403.20181@sq.sq.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!wildcan!sq!msbReferences:
<1992Sep17.120636.29070@linus.mitre.org> <1992Sep26.153421.7698@cpio1.fr.mugnet.org> <1992Sep29.134807.21457@jarvis.csri.toronto.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!wildcan!sq!msb From: msb@sq.sq.com (Mark Brader) Subject: Re: Change to time() fn? Message-ID: <1992Sep29.222403.20181@sq.sq.com> Organization: SoftQuad Inc., Toronto, Canada References: <1992Sep17.120636.29070@linus.mitre.org> <1992Sep26.153421.7698@cpio1.fr.mugnet.org> <1992Sep29.134807.21457@jarvis.csri.toronto.edu> Date: Tue, 29 Sep 92 22:24:03 GMT Lines: 11