hi,
I have port some posix library functions on avr target, like:
- mktime
- asctime
- gmtime
We test these function on avr target and all works.
These functions are posix compliant, but to work on avr target we have put some
limitation:
- we could not specify the time zone, but is fix on UTC zone.
- we not manage daylight fixing it to 0.
Generally we think isn't important for an embedded target to know time zone
because we want only manage time structures so in most case refer time zone to
UTC is enough.
If you want I can post the code, and contribute it to avr libc.
Let me know what you think.
Regards,
Daniele.
--
| [D]-o Ing. Daniele Basile - aste...@develer.com
| ||}-o Develer S.r.l., R&D dept.
| [B]-o http://www.develer.com - http://www.bertos.org
_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev