tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: struct timezone and _XOPEN_SOURCE

On Thu, Jul 02, 2009 at 08:17:47PM +0000, Christos Zoulas wrote:
> It should just pass NULL. Or switch to using clock_gettime() to get better
> resolution.

Or ftime() for millisecond resolution and greater portability - even though
it is likely to be marked depracted or for-compatibility.

(it is in libc on most Linux systems, and in the default libs on windows)


David Laight:

Home | Main Index | Thread Index | Old Index