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" :) Brice