This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: [PATCH] add ftok() and getenv() functions to the synthetic target
- From: Alexander Neundorf <neundorf at kde dot org>
- To: ecos-patches at ecos dot sourceware dot org
- Date: Tue, 25 Oct 2005 22:13:15 +0200
- Subject: Re: [PATCH] add ftok() and getenv() functions to the synthetic target
- References: <200510191920.25132.neundorf@kde.org>
- Reply-to: neundorf at kde dot org
On Wednesday 19 October 2005 19:20, Alexander Neundorf wrote:
> Hi,
>
> the attached patch implements ftok() and getenv() for the synthetic target.
> This is quite useful, since often ipc keys are generated using ftok() and
> environment variables (getenv()).
> Both ftok() and getenv() are taken from FreeBSD. The FreeBSD getenv() is
> smaller and has no dependencies as compared to the eCos getenv() (which
> uses strlen() and strncmp()).
>
> Please apply.
Any comments ?
Alex