This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Missing lfind/lsearch/insque/remque ?
- From: "J. Johnston" <jjohnstn at redhat dot com>
- To: Michael Haubenwallner <michael dot haubenwallner at salomon dot at>
- Cc: newlib at sources dot redhat dot com
- Date: Wed, 09 Apr 2003 11:58:46 -0400
- Subject: Re: Missing lfind/lsearch/insque/remque ?
- Organization: Red Hat Inc.
- References: <3E93BF14.8090906@salomon.at>
Michael Haubenwallner wrote:
Hi all!
As you have added search.h with hsearch- and tsearch-functions
to newlib, is there a significant reason to omit lsearch/lfind
and insque/remque, as they are specified together in search.h
in SUSv3 (and SUSv2 too) ?
thanks
haubi
The search routines that were added were done so to make newlib EL/IX compliant.
EL/IX is an embedded Linux standard originally drafted by the eCos folks.
Making newlib EL/IX compliant was a larger undertaking and the routines you mention
above are not part of that standard, so no effort was made at the time to include them.
Newlib does not aspire to contain everything but the kitchen sink. It is meant to support
embedded platforms. For native platforms, large robust C libraries already exist
(e.g. glibc). That said, however, we are not turning away code contributions. If
you wish to contribute the missing routines, they would be welcomed, provided that the
licensing restrictions were adhered to and the routines did not have OS requirements
above the normal newlib syscall layer.
-- Jeff J.