MCPcopy Index your code
hub / github.com/RsyncProject/rsync / asprintf

Function asprintf

lib/snprintf.c:1264–1275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1262
1263#ifndef HAVE_ASPRINTF
1264 int asprintf(char **ptr, const char *format, ...)
1265{
1266 va_list ap;
1267 int ret;
1268
1269 *ptr = NULL;
1270 va_start(ap, format);
1271 ret = vasprintf(ptr, format, ap);
1272 va_end(ap);
1273
1274 return ret;
1275}
1276#endif
1277
1278#ifdef TEST_SNPRINTF

Callers 13

parse_argumentsFunction · 0.85
server_optionsFunction · 0.85
add_ruleFunction · 0.85
glob_expand_moduleFunction · 0.85
full_fnameFunction · 0.85
_Insure_trap_errorFunction · 0.85
open_socket_inFunction · 0.85
istringFunction · 0.85
unset_env_varFunction · 0.85
set_env_strFunction · 0.85
set_envN_strFunction · 0.85
set_env_numFunction · 0.85

Calls 1

vasprintfFunction · 0.85

Tested by

no test coverage detected