This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: About posix compatibility with some macro on time.h
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Picque S?bastien <S dot Picque at TELEVIC dot com>
- Cc: ecos-discuss at sourceware dot org
- Date: Wed, 25 Apr 2007 11:49:19 +0200
- Subject: Re: [ECOS] About posix compatibility with some macro on time.h
- References: <A231E60AABF3F143B244E70FB6A3B65540AF2A@nt-email.TELEVIC.COM>
On Wed, Apr 25, 2007 at 10:58:10AM +0200, Picque S?bastien wrote:
> Hi all,
>
> I am surprised to see that the header file from posix compatibilty
> are not matching with the file coming from Linux standart.
Linux is not the standard. Linux somewhat implements the standard.
You can read about the POSIX standard at
http://www.opengroup.org
> For example some definitions are missing ( ITIMER_REAL.)
The relevant page is:
http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/time.h.html
This is part of XSI, ie an extension, not part of the base POSIX
specification. Implementation of this is optional and eCos does not
currently implement this option.
POSIX timers eg timer_create, timer_settimer, etc are implemented.
This might support the functionality your need. If not, you could
implement itimers if you wanted. eCos is open source after all.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss