I thought this was previously posted, but I can't find it.
Specifically, the time() function returns 0.
I'm running a PPC 860.
Do I need to enable/configure the time?
great post... but now the sollution please.
We got a VxWorks running but the clock_gettime never seems to return the
real bios clock but returns the time since the reboot of the system.
Is there a way to set the correct time ?
Quote:> I got it. I never set the time. thanks.
The times() call in PC Minix 1.5.10 seems to return zero, rather
than the number of ticks since the process began. The library code
looks as if it should return a value, but its an envelope to a kernel
call and I can't easily trace it back. Has anyone already found this
bug? The call I'm using is long_int = times(&tms), and long_int is
Thanks - Will