> >> time() is a POSIX function while gettimeofday() is not.  Also the
> >> gettimeofday() resolution will not be *that* much better (in fact
> >> it need not be better at all, time_t need not be an integral type).
> 
> > It's not required to be better, but it is.
> 
> ... if time_t is some integer type.  Yes.
> 
> > Why not use it if it's available?
> 
> The only problem is that we'd have to introduce one more
> platform-dependent compilation switch -- unless gettimeofday() is now
> in a relevant standard so that we can rely on its existance on all
> platforms.

gettimeofday() is not available on all platforms.  You can not reply
on its existence.



    Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
                 The Kermit Project * Columbia University
              612 West 115th St #716 * New York, NY * 10025
  http://www.kermit-project.org/k95.html * [EMAIL PROTECTED]


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to