| 328 | } |
| 329 | |
| 330 | static int descriptor(const char *text) { |
| 331 | char *end = NULL; |
| 332 | errno = 0; |
| 333 | long value = strtol(text, &end, 10); |
| 334 | if (errno || !text[0] || *end || value < 3 || value > INT_MAX) |
| 335 | return -1; |
| 336 | return fcntl((int)value, F_GETFD) >= 0 ? (int)value : -1; |
| 337 | } |
| 338 | |
| 339 | int tf_coverage_children_dispatch(int argc, char **argv) { |
| 340 | child_runner = argc > 0 && argv ? argv[0] : NULL; |
no outgoing calls
no test coverage detected