MCPcopy Create free account
hub / github.com/codr7/hacktical-c / hc_vprintf

Function hc_vprintf

stream1/stream1.c:59–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59size_t hc_vprintf(struct hc_stream *s,
60 const char *spec,
61 va_list args) {
62 char *data = hc_vsprintf(spec, args);
63 hc_defer(free(data));
64 return hc_write(s, (uint8_t *)data, strlen(data));
65}
66
67size_t hc_printf(struct hc_stream *s, const char *spec, ...) {
68 va_list args;

Callers 1

hc_printfFunction · 0.85

Calls 2

hc_vsprintfFunction · 0.85
hc_writeFunction · 0.85

Tested by

no test coverage detected