It looks like the same header, search.h, also includes functions for working with binary trees, where the user passes in the root pointer, and so which support multiple trees:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/ts...
So this committee must have signed off on the hashtable stuff even though they had an example of how to do it properly right next to it!