Search and sort routines provide binary-search, linear-search, and quick-sort capabilities. They are all declared in SEARCH.H.
Routine | Use |
bsearch | Performs binary search |
_lfind | Performs linear search for given value |
_lsearch | Performs linear search for given value, which is added to array if not found |
qsort | Performs quick sort |