MCPcopy Create free account
hub / github.com/acl-dev/acl / test_vstring_vsprintf

Function test_vstring_vsprintf

lib_acl/samples/vstring/main.cpp:159–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159static void test_vstring_vsprintf(const char* fmt, ...)
160{
161 va_list ap;
162
163 va_start(ap, fmt);
164 ACL_VSTRING *vbf = acl_vstring_alloc(1);
165 acl_vstring_vsprintf(vbf, fmt, ap);
166 va_end(ap);
167
168 printf("%s\n", acl_vstring_str(vbf));
169
170 acl_vstring_free(vbf);
171}
172
173int main(int argc acl_unused, char *argv[] acl_unused)
174{

Callers 1

mainFunction · 0.85

Calls 3

acl_vstring_allocFunction · 0.85
acl_vstring_vsprintfFunction · 0.85
acl_vstring_freeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…