08/30/2011 5:48 AM
post88476
|
I have a thread which obtains the time from NMEA GPS string, I want to use this time to set the system clock.
I can spawn date but I would rather use clock_settime(). How can I translate, year, month, day, hours, minutes and
seconds into a timespec for use with clock_settime?
|
|
|