This API is laughably bad, almost completely useless. But it is in POSIX <a href="https://pubs.opengroup.org/onlinepubs/9699919799/functions/hcreate.html" rel="nofollow">https://pubs.opengroup.org/onlinepubs/9699919799/functions/h...</a> so it is ubiquitous as well as useless.
Does someone know why these are not reentrant without the GNU extension? It seems like a really weird choice to make a library for hash tables and then make the state global like that.
Is there a command-line interface for this, or is it strictly library-only?<p>Would be cool if there were a way to point to a memmapped region under /dev/shm or equivalent.