| 158 | } |
| 159 | |
| 160 | static void finish_child(struct ptr_valid_batch *batch) |
| 161 | { |
| 162 | close(batch->to_child); |
| 163 | close(batch->from_child); |
| 164 | while (waitpid(batch->child_pid, NULL, 0) < 0 && errno == EINTR); |
| 165 | batch->child_pid = 0; |
| 166 | } |
| 167 | |
| 168 | static bool child_alive(struct ptr_valid_batch *batch) |
| 169 | { |
no outgoing calls
no test coverage detected