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, 2 Jul 2009 20:17:47 +0000 (UTC)
christos%astron.com@localhost (Christos Zoulas) wrote:

> >Anyone know if this should be considered to be a bug in <sys/time.h>
> >where timezone should be outside the _NETBSD_SOURCE conditional, or if
> >defining _XOPEN_SOURCE == 600 and using gettimeofday(2) is flawed?
> 
> The application is flawed:
> 
> http://www.opengroup.org/onlinepubs/000095399/functions/gettimeofday.html
> 
> It should just pass NULL. Or switch to using clock_gettime() to get better
> resolution.

Thanks, the project admin accepted to fix the application after
confirmation that it was their bug, and the problem is now gone.
-- 
Matt


Home | Main Index | Thread Index | Old Index