Node:Searching and Sorting, Next:Pattern Matching, Previous:Message Translation, Up:Top
This chapter describes functions for searching and sorting arrays of arbitrary objects. You pass the appropriate comparison function to be applied as an argument, along with the size of the objects in the array and the total number of elements.
bsearch
function.
qsort
function.
hsearch
function.
tsearch
function.