rem: int cond; int low, high, mid;
add: int cond = 0, low = 0, high = 0, mid = 0;
context: BinSearch(void **elPtrPtr, void **listPtrPtr, int n, Ns_IndexCmpProc *cmpProc){    int cond;    int low, high, mid;    low = 0;    high = n - 1;    while (low <= high) {        mid = (low + high) / 2;        if ((cond = (*cmpProc) (elPtrPtr, listPtrPtr + mid)) < 0) {            high = mid - 1;        } else if (cond > 0) {            low = mid + 1;        } else {            return mid;        }    }    return (high < mid) ? mid : low;}