in reply to Perl to C

Take a look at libghthash. Also, both the GNU and the FreeBSD libc contain hashing functions – check hcreate(3), hsearch(3) and hdestroy(3). (Not sure how widely these are available on other systems; I never had to look.)

Makeshifts last the longest.

Replies are listed 'Best First'.
Re^2: Perl to C
by chibiryuu (Beadle) on Nov 15, 2005 at 21:42 UTC
    According to the man pages on my machine, search.h (containing hcreate and co.) goes back to System V Interface Description, and is described in POSIX 1003.1-2001.

    So they should be pretty widely available.