Hi. I'm an embedded programmer, doing code for a board that is part of a distributed system that will interface to a Linux central controller. My board does not run an OS.
I need to send time and date info from an on-board battery backed clock to the Linux system for time-stamping events, and it needs to send me info if my clock has a dead battery.
I'm trying to find out what format Linux wants, so that when I send it up to central, the guy handling that end will have less work to do. There's nobody to ask yet since that job isn't filled.
My clock chip is hh:mm:ss. In searching the web, it seems Linux time is kept as a raw time since 1970, but my little processor can't handle the work to go into and out of that format.
So my question is: Is there a standard Linux format for transmitting time in hh:mm:ss format, and if so, what are the system calls that use it?
Thanks very much,
Lloyd
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch format to Traditional
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
No comments:
Post a Comment