MCPcopy Create free account
hub / github.com/containers/bubblewrap / xasprintf

Function xasprintf

utils.c:356–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356char *
357xasprintf (const char *format,
358 ...)
359{
360 char *buffer = NULL;
361 va_list args;
362
363 va_start (args, format);
364 if (vasprintf (&buffer, format, args) == -1)
365 die_oom ();
366 va_end (args);
367
368 return buffer;
369}
370
371int
372fdwalk (int proc_fd, int (*cb)(void *data,

Callers 11

label_mountFunction · 0.85
report_child_exit_statusFunction · 0.85
write_uid_gid_mapFunction · 0.85
privileged_opFunction · 0.85
setup_newrootFunction · 0.85
parse_args_recurseFunction · 0.85
namespace_ids_readFunction · 0.85
namespace_ids_writeFunction · 0.85
mainFunction · 0.85
bind_mountFunction · 0.85

Calls 1

die_oomFunction · 0.85

Tested by

no test coverage detected