gettimeofday(2) and time(2)
Tiago João Portela Jorge
tjpj at lasige.di.fc.ul.pt
Wed Jun 8 10:04:56 CEST 2005
use the RTC server. $(L4DIR)/pkg/rtc.
> Hi all,
> I would like to get the current time as reported by gettimeofday(2)
> and time(2). However, neither of these functions seem to work in L4.
> gettimeofday() fills in the timeval struct with random values and
> time() always returns -1.
> What is the correct way to get the time in seconds since the Epoch in L4?
> Thanks in advance,
> l4-hackers mailing list
> l4-hackers at os.inf.tu-dresden.de
More information about the l4-hackers