MCPcopy Create free account
hub / github.com/ioi/isolate / msg

Function msg

isolate.c:384–398  ·  view source on GitHub ↗

Write a message, but only if in verbose mode */

Source from the content-addressed store, hash-verified

382
383/* Write a message, but only if in verbose mode */
384void __attribute__((format(printf,1,2)))
385msg(char *msg, ...)
386{
387 va_list args;
388 va_start(args, msg);
389 if (verbose)
390 {
391 int len = strlen(msg);
392 if (len > 0)
393 partial_line = (msg[len-1] != '\n');
394 vfprintf(stderr, msg, args);
395 fflush(stderr);
396 }
397 va_end(args);
398}
399
400/*** Signal handling in keeper process ***/
401

Callers 14

cg_readFunction · 0.85
cg_writeFunction · 0.85
cg_initFunction · 0.85
cg_createFunction · 0.85
cg_enterFunction · 0.85
cg_setupFunction · 0.85
cg_removeFunction · 0.85
apply_dir_rulesFunction · 0.85
set_quotaFunction · 0.85
signal_alarmFunction · 0.85
do_cleanupFunction · 0.85
initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected