| 24 | #define gzdopen(fd, mode) (fd) |
| 25 | #define gzclose(outf) close(outf) |
| 26 | static int gzread(int fd, void *buf, size_t len) |
| 27 | { |
| 28 | if (read_all(fd, buf, len)) |
| 29 | return len; |
| 30 | return 0; |
| 31 | } |
| 32 | static int gzwrite(int fd, const void *buf, size_t len) |
| 33 | { |
| 34 | if (write_all(fd, buf, len)) |
no test coverage detected