_nsdbtcmp
qsort(_nsmap, _nsmapsize, sizeof(*_nsmap), _nsdbtcmp);
dbt = bsearch(&key, _nsmap, _nsmapsize, sizeof(*_nsmap), _nsdbtcmp);