| 322 | #endif /* 0 */ |
| 323 | |
| 324 | int |
| 325 | macwrite(int fd, void *ptr, unsigned len) |
| 326 | { |
| 327 | long amt = len; |
| 328 | |
| 329 | if (IsHandleFile(fd)) |
| 330 | return -1; |
| 331 | if (FSWrite(fd, &amt, ptr) == noErr) |
| 332 | return (amt); |
| 333 | else |
| 334 | return (-1); |
| 335 | } |
| 336 | |
| 337 | long |
| 338 | macseek(int fd, long where, short whence) |
nothing calls this directly
no test coverage detected