MCPcopy Create free account
hub / github.com/coreutils/coreutils / prog_fprintf

Function prog_fprintf

src/prog-fprintf.c:27–37  ·  view source on GitHub ↗

Display program name followed by variable list. Used for e.g. verbose output */

Source from the content-addressed store, hash-verified

25/* Display program name followed by variable list.
26 Used for e.g. verbose output */
27void
28prog_fprintf (FILE *fp, char const *fmt, ...)
29{
30 va_list ap;
31 fputs (program_name, fp);
32 fputs (": ", fp);
33 va_start (ap, fmt);
34 vfprintf (fp, fmt, ap);
35 va_end (ap);
36 fputc ('\n', fp);
37}

Callers 4

announce_mkdirFunction · 0.85
remove_parentsFunction · 0.85
mainFunction · 0.85
announce_mkdirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected