We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS


Compares two character strings.


#include <plhash.h>

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


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, alecananian
Last updated by: teoli,