/* This C code is not intended to compile, it is for testing a search program. */ #include int mystrcmp (const void * x, const void * y) { return -1; } struct a { char * b; }; int main () { struct a * d; char * c; void * e; void * f; e = bsearch (c, d->b, 1, sizeof (* (d->b)), mystrcmp); e = bsearch (c, d->b, 1, sizeof (char *), mystrcmp); return 0; }