|
Turnstone Operating System
|
binarysearch interface implementation More...
#include <binarysearch.h>Functions | |
| MODULE ("turnstone.lib") | |
| void * | binarysearch (void *list, uint64_t size, uint64_t item_size, void *key, binarysearch_comparator_f cmp) |
| binarsearch | |
binarysearch interface implementation
This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.
| void * binarysearch | ( | void * | list, |
| uint64_t | size, | ||
| uint64_t | item_size, | ||
| void * | key, | ||
| binarysearch_comparator_f | cmp ) |
binarsearch
| [in] | list | list to search |
| [in] | size | list size |
| [in] | item_size | each item size in list |
| [in] | key | to search |
| [in] | cmp | binarsearch comparator binarysearch_comparator_f |