MCPcopy Create free account
hub / github.com/ioi/isolate / xsprintf

Function xsprintf

util.c:41–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41char *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
55void
56timespec_sub(const struct timespec *a, const struct timespec *b, struct timespec *result)

Callers 2

get_my_cgroupFunction · 0.85
set_dir_action_extFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…