| 75 | } |
| 76 | |
| 77 | static bool send_byte(int fd, char value) { |
| 78 | return transfer(fd, &value, true); |
| 79 | } |
| 80 | static bool expect_byte(int fd, char expected) { |
| 81 | char value = 0; |
| 82 | return transfer(fd, &value, false) && value == expected; |
no test coverage detected