MCPcopy Create free account
hub / github.com/Genivia/RE-flex / banner

Function banner

tests/rtest.cpp:11–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9// #define INTERACTIVE // for interactive mode testing
10
11void banner(const char *title)
12{
13 int i;
14 printf("\n\n/");
15 for (i = 0; i < 78; i++)
16 putchar('*');
17 printf("\\\n *%76s*\n * %-75s*\n *%76s*\n\\", "", title, "");
18 for (i = 0; i < 78; i++)
19 putchar('*');
20 printf("/\n\n");
21}
22
23static void error(const char *text)
24{

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected