Mail Archives: djgpp/1998/02/05/11:32:10
S. M. Halloran wrote:
> DIAGNOSTICS
> Upon successful completion, time returns the value of time.
> Otherwise, a value of (time_t)-1 is returned and errno is
> set to indicate the error.
you realize, of course, that time_t does not have to be a scalar type,
and programs that rely on this assumption will break if the type
changes.
i find the current description useful in that it gives you only the
information that you can safely rely on. and leads you to check the
standards to see exactly you can rely on. the version you proposed makes
without any warnings, a lot of extra statements about validity of
certain assumptions that are not guaranteed.
-- Sinan
- Raw text -