MCPcopy Create free account
hub / github.com/GJDuck/e9patch / asprintf

Function asprintf

examples/stdlib.c:4141–4148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4139}
4140
4141static int asprintf(char **strp, const char *format, ...)
4142{
4143 va_list ap;
4144 va_start(ap, format);
4145 int result = vasprintf(strp, format, ap);
4146 va_end(ap);
4147 return result;
4148}
4149
4150#define PRINTF_BUF_ALLOC(buf, size) \
4151 char buf_0[((size) <= BUFSIZ? result: 0)], \

Callers 2

initFunction · 0.85
initFunction · 0.85

Calls 1

vasprintfFunction · 0.85

Tested by

no test coverage detected