| 90 | } |
| 91 | |
| 92 | static bool note(const Child *child, const char *stage, int marker, int code) { |
| 93 | return fprintf(stderr, |
| 94 | "COV_CHILD {\"id\":\"%s\",\"pid\":%ld,\"stage\":\"%s\"," |
| 95 | "\"marker\":%d,\"code\":%d}\n", |
| 96 | child->id, (long)child->pid, stage, marker, code) > 0 && |
| 97 | fflush(stderr) == 0; |
| 98 | } |
| 99 | |
| 100 | static bool path_fits(int length, size_t capacity) { |
| 101 | return length > 0 && (size_t)length < capacity; |
no outgoing calls
no test coverage detected