bsearch-insert-pos.h revision 27a44fcfd8d19bffe0f267f20a2b5d3fe7600fdd
#ifndef BSEARCH_INSERT_POS_H
#define BSEARCH_INSERT_POS_H
/* Binary search template */
\
\
else { \
return TRUE; \
} \
} \
return FALSE
/* If key is found, returns TRUE and sets idx_r to the position where the key
was found. If key isn't found, returns FALSE and sets idx_r to the position
where the key should be inserted. */
unsigned int *idx_r);
int (*cmp)(const void *, const void *),
unsigned int *idx_r);
#endif