| 47 | } |
| 48 | |
| 49 | void read_pipe(char* data, size_t size) { |
| 50 | while (size > 0) { |
| 51 | auto got = ::read(pipefd[0], data, size); |
| 52 | data += got; |
| 53 | size -= got; |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | int pipefd[2]; |
| 58 | StaticFileObject file_object; |
nothing calls this directly
no outgoing calls
no test coverage detected