Walking a hash table created by hcreate_r()/hsearch_r() ?

A

Andy

Any one knows how to walk or in other words print all
the key/value pairs in a hash table created by
hcreate_r()? I have added the elements of the hash
table using the function hsearch_r(). I am not sure how to access
all the elements.

Thank you in advance!
Andy
 
M

Mike Wahler

Andy said:
Any one knows how to walk or in other words print all
the key/value pairs in a hash table created by
hcreate_r()? I have added the elements of the hash
table using the function hsearch_r(). I am not sure how to access
all the elements.

Those are not standard C functions, so we can't answer
in the context of this newsgroup. Try reading your
documentation for those functions and/or asking in
a newsgroup where they're topical.

-Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,148
Messages
2,570,838
Members
47,385
Latest member
Joneswilliam01

Latest Threads

Top