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

PL_CompareStrings

Compares two character strings.

Syntax

#include <plhash.h>

PRIntn PL_CompareStrings(
  const void *v1,
  const void *v2);

Description

PL_CompareStrings compares v1 and v2 as character strings using strcmp. If the two strings are equal, it returns 1. If the two strings are not equal, it returns 0.

PL_CompareStrings can be used as the comparator function for string-valued key or entry value.

Document Tags and Contributors

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