| 92 | } |
| 93 | |
| 94 | static int |
| 95 | CloseHandleFile(int fd) |
| 96 | { |
| 97 | if (!IsHandleFile(fd)) { |
| 98 | return -1; |
| 99 | } |
| 100 | fd -= FIRST_HF; |
| 101 | ReleaseResource(theHandleFiles[fd].data); |
| 102 | theHandleFiles[fd].data = 0L; |
| 103 | return (0); |
| 104 | } |
| 105 | |
| 106 | static int |
| 107 | ReadHandleFile(int fd, void *ptr, unsigned len) |
no test coverage detected