| 274 | } |
| 275 | |
| 276 | int |
| 277 | macclose(int fd) |
| 278 | { |
| 279 | if (IsHandleFile(fd)) { |
| 280 | CloseHandleFile(fd); |
| 281 | } else { |
| 282 | if (FSClose(fd)) { |
| 283 | return -1; |
| 284 | } |
| 285 | FlushVol((StringPtr) 0, theDirs.dataRefNum); |
| 286 | } |
| 287 | return 0; |
| 288 | } |
| 289 | |
| 290 | int |
| 291 | macread(int fd, void *ptr, unsigned len) |
no test coverage detected