b_hash_lookup/4

b_hash_lookup( +Key, ?Val, +Hash )*

Search the ground term Key in table Hash and unify Val with the associated entry.