Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

PL_HashString

A general-purpose hash function for character strings.

Syntax

#include <plhash.h>

PLHashNumber PL_HashString(const void *key);

Parameter

The function has the following parameter:

key
A pointer to a character string.

Returns

The hash number for the specified key.

Description

PL_HashString can be used as the key hash function for a hash table if the key is a character string.

Document Tags and Contributors

 Contributors to this page: teoli, Rappo
 Last updated by: teoli,