binary search of a sorted array NAME bsearch - binary search of a sorted array LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #inc......HISTORY POSIX.1-2001, SVr4, 4.3BSD. libc-4.6.27. BUGS The naming is unfortunate. SEE ALSO bsearch (3), hsearch (3), tsearch (3)...HISTORY POSIX.1-2001, SVr4, 4.3BSD. libc-4.6.27. BUGS The naming is unfortunate. SEE ALSO bsearch (3), hsearch (3), tsearch (3)...3), as shown in the example below. EXAMPLES For one example of use, see the example under bsearch (3). Another example is the following program, which sorts the strings given in…...3), as shown in the example below. EXAMPLES For one example of use, see the example under bsearch (3). Another example is the following program, which sorts the strings given in…...r) free(ptr); } twalk(root, action); tdestroy(root, free); exit(EXIT_SUCCESS); } SEE ALSO bsearch (3), hsearch (3), lsearch (3), qsort (3)...r) free(ptr); } twalk(root, action); tdestroy(root, free); exit(EXIT_SUCCESS); } SEE ALSO bsearch (3), hsearch (3), lsearch (3), qsort (3)...r) free(ptr); } twalk(root, action); tdestroy(root, free); exit(EXIT_SUCCESS); } SEE ALSO bsearch (3), hsearch (3), lsearch (3), qsort (3)...r) free(ptr); } twalk(root, action); tdestroy(root, free); exit(EXIT_SUCCESS); } SEE ALSO bsearch (3), hsearch (3), lsearch (3), qsort (3)...r) free(ptr); } twalk(root, action); tdestroy(root, free); exit(EXIT_SUCCESS); } SEE ALSO bsearch (3), hsearch (3), lsearch (3), qsort (3)...r) free(ptr); } twalk(root, action); tdestroy(root, free); exit(EXIT_SUCCESS); } SEE ALSO bsearch (3), hsearch (3), lsearch (3), qsort (3)...ep->key : "NULL", ep ? (int)(ep->data) : 0); } hdestroy(); exit(EXIT_SUCCESS); } SEE ALSO bsearch (3), lsearch (3), malloc (3), tsearch (3)...ep->key : "NULL", ep ? (int)(ep->data) : 0); } hdestroy(); exit(EXIT_SUCCESS); } SEE ALSO bsearch (3), lsearch (3), malloc (3), tsearch (3)...ep->key : "NULL", ep ? (int)(ep->data) : 0); } hdestroy(); exit(EXIT_SUCCESS); } SEE ALSO bsearch (3), lsearch (3), malloc (3), tsearch (3)...ep->key : "NULL", ep ? (int)(ep->data) : 0); } hdestroy(); exit(EXIT_SUCCESS); } SEE ALSO bsearch (3), lsearch (3), malloc (3), tsearch (3)...ep->key : "NULL", ep ? (int)(ep->data) : 0); } hdestroy(); exit(EXIT_SUCCESS); } SEE ALSO bsearch (3), lsearch (3), malloc (3), tsearch (3)...ep->key : "NULL", ep ? (int)(ep->data) : 0); } hdestroy(); exit(EXIT_SUCCESS); } SEE ALSO bsearch (3), lsearch (3), malloc (3), tsearch (3)