This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
standard hash interface
- From: Glauber de Oliveira Costa <gocosta at br dot ibm dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Thu, 28 Jul 2005 20:55:18 -0300
- Subject: standard hash interface
Hello folks,
please, cc me with answers, since I'm not subscribed. I have some very
simple questions regarding the standard libc hash functions (hcreate,
hsearch,hdestroy).
Basically, once an entry is inserted in the hash, isn't there any way to
remove it ? (Well, I did noticed that it hasn't, but is there any
reason?)
I did see that posix does not specify any mechanism for doing so, but
since I do feel that removing a key from a hash is in fact an important
operation, I would like to hear more on the subject if any of you have
something relevant that could help me understanding it. Also, is there
any strong issue involved in providing a GNU extension for it?
Regards,
Glauber.
--
=====================================
Glauber de Oliveira Costa
IBM Linux Technology Center - Brazil
gocosta@br.ibm.com
=====================================