DragonFly kernel List (threaded) for 2008-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Testing monotonic clock
:I have a software piece which checks for existance of monotonic clock with
:following testpiece:
:
: if (clock_gettime(CLOCK_MONOTONIC, &tp) == 0)
: return 0;
: else
: return 1;
:..
:
:It's obvious that someone has to include sys/time.h somewhere, but who and
:where? What's buggy - DragonFly or this test?
:
:--
:Hasso Tepper
I would say that DragonFly is wrong. The opengroup standards page
says that only <time.h> is needed.
-Matt
Matthew Dillon
<dillon@backplane.com>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]