>> 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.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to