| 80 | exit(1); |
| 81 | } |
| 82 | |
| 83 | static void die_errno(const char *what, const char *path) { |
| 84 | fprintf(stderr, "error: %s %s: %s\n", what, path ? path : "", strerror(errno)); |
| 85 | exit(1); |
| 86 | } |
| 87 | |
| 88 | static void *xmalloc(size_t n) { |
| 89 | void *p = malloc(n ? n : 1); |
no test coverage detected