| 39 | } |
| 40 | |
| 41 | char *xsprintf(const char *fmt, ...) |
| 42 | { |
| 43 | va_list args; |
| 44 | va_start(args, fmt); |
| 45 | |
| 46 | char *out; |
| 47 | int res = vasprintf(&out, fmt, args); |
| 48 | if (res < 0) |
| 49 | die("Out of memory"); |
| 50 | |
| 51 | va_end(args); |
| 52 | return out; |
| 53 | } |
| 54 | |
| 55 | void |
| 56 | timespec_sub(const struct timespec *a, const struct timespec *b, struct timespec *result) |
no outgoing calls
no test coverage detected
searching dependent graphs…