Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] "compar"
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2009-12-16 01:27:34

Jeff Squyres wrote:
> I see two functions in cpuset.h:
> ----
> int hwloc_cpuset_compar_first(hwloc_const_cpuset_t set1, hwloc_const_cpuset_t set2);
> int hwloc_cpuset_compar(hwloc_const_cpuset_t set1, hwloc_const_cpuset_t set2);
> -----
> Did you really mean "compare"? Or was the extra "e" just too long? ;-)

I don't have anything against "compare" but I'd like to understand why
many functions like "qsort" take a comparison function that is often
named "compar" without an "e" :)