MCPcopy Create free account
hub / github.com/MITK/MITK / exit_printf

Function exit_printf

Modules/CppMicroServices/tools/usResourceCompiler.c:45–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45static void exit_printf(us_mz_zip_archive* writeArchive, const char* format, ...)
46{
47 va_list args;
48 cleanup_archive(writeArchive);
49 fprintf(stderr, "error: ");
50 va_start(args, format);
51 vfprintf(stderr, format, args);
52 va_end(args);
53 exit(EXIT_FAILURE);
54}
55
56static void exit_perror(us_mz_zip_archive* writeArchive, const char* desc)
57{

Callers 3

us_strcpyFunction · 0.85
us_strncpyFunction · 0.85
mainFunction · 0.85

Calls 1

cleanup_archiveFunction · 0.85

Tested by

no test coverage detected