setting system time
I tried using mktime() to set the system time from my embedded application, but it doesnt persist. I also have looked at stime(2), but from the documentation it doesnt appear that is the right way to go. I was looking at sys_clock_settime(), can anyone tell me about the usage of this routine from an embedded application?
thanks
|