[fpc-devel] Problem with Now() and time changed by ntpd

Henry Vermaak henry.vermaak at gmail.com
Tue Nov 1 11:25:22 CET 2011


On 01/11/11 10:01, Sven Barth wrote:
> On 01.11.2011 09:41, zeljko wrote:
>> I don't believe that kernel have only gettimeofday() and that kernel
>> don't know accurate datetime. There's more functions in kernel which can
>> give you accurate result. gettimeofday() is deprecated, so maybe that's
>> main reason why it fails to give correct result with daylight changes.
>
> Out of curiosity: Where did you get that gettimeofday is deprecated?

http://www.kernel.org/doc/man-pages/online/pages/man2/gettimeofday.2.html#CONFORMING_TO



More information about the fpc-devel mailing list