ANSI C date & time library functions.
Geoff Clare
gwc at root.co.uk
Tue Feb 13 04:45:12 AEST 1990
In article <15919 at haddock.ima.isc.com> karl at haddock.ima.isc.com (Karl Heuer) writes:
>As far as I can see, the only reason that it has to be arithmetic at all is so
>that time() can return (time_t)-1 to flag an error. This is rather bizarre,
>since existing Unix implementations never return an error from time();
It's needed so that mktime() can return (time_t)-1 to flag an error (for
unrepresentable times).
--
Geoff Clare, UniSoft Limited, Saunderson House, Hayne Street, London EC1A 9HH
gwc at root.co.uk (Dumb mailers: ...!uunet!root.co.uk!gwc) Tel: +44-1-315-6600
(from 6th May 1990): +44-71-315-6600
More information about the Comp.std.c
mailing list