[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] Posix time.h patch.
From: |
Daniele Basile |
Subject: |
[avr-libc-dev] Posix time.h patch. |
Date: |
Fri, 16 Oct 2009 17:02:52 +0200 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
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 - address@hidden
| ||}-o Develer S.r.l., R&D dept.
| [B]-o http://www.develer.com - http://www.bertos.org
- [avr-libc-dev] Posix time.h patch.,
Daniele Basile <=