/* J. Dean Brock, 1998 Written for UNCA CSCI 343 Recursive routine for searching the B+-tree */ #include #include #include "btree.h" int btreeSearch(FILE *dbFile, /* pointer to open btree file */ char *key, /* key to search for */ int *val) /* value to return */ /* Returns -1, on I/O failure * 0, if record not in btree * 1, if record already in btree * sets val in this case */ { }