delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2005/03/16/14:52:31

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
From: <ams AT ludd DOT ltu DOT se>
Message-Id: <200503161952.j2GJqHLj014590@speedy.ludd.ltu.se>
Subject: Re: hcreate() and friends (LONG)
In-Reply-To: <41FBD129.1040902@phekda.gotadsl.co.uk> "from Richard Dawe at Jan
29, 2005 06:08:41 pm"
To: djgpp-workers AT delorie DOT com
Date: Wed, 16 Mar 2005 20:52:17 +0100 (CET)
X-Mailer: ELM [version 2.4ME+ PL78 (25)]
MIME-Version: 1.0
X-ltu-MailScanner-Information: Please contact the ISP for more information
X-ltu-MailScanner: Found to be clean
X-MailScanner-From: ams AT ludd DOT ltu DOT se
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

According to Richard Dawe:
> > * I'm adding the functional category "search" to libc's
> > documentation. I've put hcreate(), hdestroy() and hsearch() in that
> > category. I'll move lfind(), lsearch(), insque() and remque() to that
> > catetory if you're ok with the new category.
> 
> How about a "data structures" category? insque and remque don't really 
> seem related to searching.

That's a good idea. However my time ran out (as you might have
noticed). So I just added my functions to the search category for now.
I'll see about that "data structures" category later when there's more
time. If somebody else with time likes to do it, go ahead.

I just commited the hcreate(), hdestroy() and hsearch() and _hash2v()
functions. I did not change the categories of the other functions.

Right now I just noticed that hcreate(), hdestroy() and hsearch() are
the _only_ entries in the search category. Just after commiting of
course. So putting them there wasn't that brilliant. Input?

I also had created another test case tests/libc/posix/search/hfill.c
that you haven't seen before which I commited too.


Right,

						MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019