| 51 | MacDirs theDirs; /* also referenced in macwin.c */ |
| 52 | |
| 53 | static HandleFile * |
| 54 | IsHandleFile(int fd) |
| 55 | { |
| 56 | HandleFile *hfp = NULL; |
| 57 | |
| 58 | if (fd >= FIRST_HF && fd < FIRST_HF + MAX_HF) { |
| 59 | /* in valid range, check for data */ |
| 60 | hfp = &theHandleFiles[fd - FIRST_HF]; |
| 61 | if (!hfp->data) |
| 62 | hfp = NULL; |
| 63 | } |
| 64 | return hfp; |
| 65 | } |
| 66 | |
| 67 | static int |
| 68 | OpenHandleFile(const unsigned char *name, long fileType) |
no outgoing calls
no test coverage detected