| 476 | } |
| 477 | |
| 478 | int Open(const char *pathname, int flags, mode_t mode) |
| 479 | { |
| 480 | int fd = open(pathname, flags, mode); |
| 481 | if (fd < 0) |
| 482 | unix_error("open"); |
| 483 | return fd; |
| 484 | } |
| 485 | |
| 486 | ssize_t Write(int fd, const void *buf, size_t count) |
| 487 | { |
no test coverage detected