| 215 | } |
| 216 | |
| 217 | void |
| 218 | close_library(library *lp) |
| 219 | { |
| 220 | (void) fclose(lp->fdata); |
| 221 | free((genericptr_t) lp->dir); |
| 222 | free((genericptr_t) lp->sspace); |
| 223 | |
| 224 | (void) memset((char *) lp, 0, sizeof(library)); |
| 225 | } |
| 226 | |
| 227 | /* |
| 228 | * Open the library file once using stdio. Keep it open, but |
no test coverage detected