Testing monotonic clock

Matthew Dillon dillon at apollo.backplane.com
Mon Apr 7 14:38:34 PDT 2008


:What scares me is that sys/time.h includes time.h :).
:
:>     It looks like time.h only needs sys/types.h in order to get time_t.
:>     time_t's real declaration is __time_t from <machine/types.h>
:>     (which in turn comes from cpu/*/include/stdint.h).  Whew, what a
:>     mouthful.
:
:Well. This alone doesn't solve the problem because including just time.h 
:alone from application doesn't work anyway, because:
:
:/usr/include/time.h:135: error: expected '=', ',', ';', 'asm' 
:or '__attribute__' before 'strftime'
:
:-- 
:Hasso Tepper

    I'm crying :-(

    I'm sure you will come up with a solution, even if it kills you.  My
    one consolation is that I am putting it on your shoulders to solve :-)

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>





More information about the Kernel mailing list