| 9 | #include <stdio.h> |
| 10 | |
| 11 | int cmp(const void* key, const void* member) { |
| 12 | return *(int*)key - *(int*)member; |
| 13 | } |
| 14 | |
| 15 | void printResult(int* needle, int* haystack, unsigned int len) { |
| 16 | void* result = bsearch(needle, haystack, len, sizeof(unsigned int), cmp); |
nothing calls this directly
no outgoing calls
no test coverage detected