Associative arrays/Creation/C: Difference between revisions
Content added Content deleted
(→POSIX hsearch(): Redesign and rewrite the code. The old code was a mess. The new code has fetch(), store() and delete() functions.) |
m (→BSD dbopen(): Delete a sentence after changing previous example.) |
||
Line 376: | Line 376: | ||
* Warning: some GNU/Linux systems have a dbopen(3) manual page without a real dbopen() function. See [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=337581 Debian bug #337581]. |
* Warning: some GNU/Linux systems have a dbopen(3) manual page without a real dbopen() function. See [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=337581 Debian bug #337581]. |
||
Every key and value is a *void, needs a cast to the correct type. Because BSD also has <err.h>, I remove fail() and use err(). |
|||
{{libheader|BSD libc}} |
{{libheader|BSD libc}} |